Skip to content

@nhtio/adonis-rtu-server/errors

Easily accessible error classes for the Adonis RTU Server.

Classes

ClassDescription
AdonisRTUAuthenticationFailedErrorReturned to the client via the middleware for authentication if the user could not be authenticated
AdonisRTUAuthenticationNotSupportedErrorReturned to the client via the middleware for authentication if the Adonis Authentication Provider does not use token authentication.
AdonisRTUCouldNotResolveAdonisServerErrorThrown by the RTU Interface when the HTTP server cannot be resolved from the Adonis IoC container during the "ready" lifecycle event.
AdonisRTUCouldNotResolveHttpServerErrorThrown by the RTU Interface when the HTTP server cannot be resolved from the Adonis server service during the "ready" lifecycle event.
AdonisRTUInvalidConfigurationErrorThrown when an invalid configuration object is passed to the defineConfig function.
AdonisRTUUnresolvableAuthenticationProviderErrorReturned to the client via the middleware for authentication if the Adonis Authentication Provider cannot be resolved from the Adonis IoC container.