# websub\_error

Source: https://zotonic.com/docs/2710/websub_error

URI: https://zotonic.com/id/2710

Language: en



Translate subscription error codes into explanations for editors. Accepts atoms, plain binaries and legacy binaries formatted with \~p. Unknown errors use a generic message; retain the original code separately for diagnostics. The result is plain text and must be escaped in HTML templates.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2710?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2710?language=en>)
