bodyguard v0.6.0 Bodyguard.NotAuthorizedError exception

Raised when authorization fails, or when an authorization check has not been performed by the end of the Plug pipeline.

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Functions

exception(msg)
exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t

Callback implementation for Exception.exception/1.

message(exception)
message(Exception.t) :: String.t

Callback implementation for Exception.message/1.