@nhtio/adonis-rtu-server/errors
Easily accessible error classes for the Adonis RTU Server.
Classes
| Class | Description |
|---|---|
| AdonisRTUAuthenticationFailedError | Returned to the client via the middleware for authentication if the user could not be authenticated |
| AdonisRTUAuthenticationNotSupportedError | Returned to the client via the middleware for authentication if the Adonis Authentication Provider does not use token authentication. |
| AdonisRTUCouldNotResolveAdonisServerError | Thrown by the RTU Interface when the HTTP server cannot be resolved from the Adonis IoC container during the "ready" lifecycle event. |
| AdonisRTUCouldNotResolveHttpServerError | Thrown by the RTU Interface when the HTTP server cannot be resolved from the Adonis server service during the "ready" lifecycle event. |
| AdonisRTUInvalidConfigurationError | Thrown when an invalid configuration object is passed to the defineConfig function. |
| AdonisRTUUnresolvableAuthenticationProviderError | Returned to the client via the middleware for authentication if the Adonis Authentication Provider cannot be resolved from the Adonis IoC container. |