Skip to content
PBVex
Main Navigation
Quickstart
Guides
All guides
Build your backend
Authentication
PocketBase migrations
Client SDK
React
Svelte
Deploy
Deploy an application
Self-host PBVex
Go to production
API
Appearance
Menu
Return to top
On this page
@pbvex/protocol
/ errorToJson
Function: errorToJson()
errorToJson
(
error
):
object
Parameters
error
StructuredError
Returns
object