bodyguard v0.5.0 Bodyguard.NotAuthorizedError exception

This exception is 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 c:Exception.exception/1

Callback implementation for c:Exception.message/1

Functions

exception(msg)

Specs

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

Callback implementation for c:Exception.exception/1.

message(exception)

Specs

message(Exception.t) :: String.t

Callback implementation for c:Exception.message/1.