Exception: Interceptors::AuthError
- Defined in:
- lib/interceptors/auth_error.rb
Instance Attribute Summary
Attributes inherited from AppError
Instance Method Summary collapse
-
#initialize(message: "Unauthorized", code: "unauthorized", http_status: 401, details: {}) ⇒ AuthError
constructor
A new instance of AuthError.
Methods inherited from AppError
Constructor Details
#initialize(message: "Unauthorized", code: "unauthorized", http_status: 401, details: {}) ⇒ AuthError
Returns a new instance of AuthError.
5 6 7 |
# File 'lib/interceptors/auth_error.rb', line 5 def initialize(message: "Unauthorized", code: "unauthorized", http_status: 401, details: {}) super(, code: code, http_status: http_status, details: details) end |