class Virtuaservices::Utils::Errors::Forbidden
A forbidden error occurs when a user tries to perform an action he's not allowed to. @author Vincent Courtois <courtois.vincent@outlook.com>
Public Class Methods
new(field:, action:, error:)
click to toggle source
Calls superclass method
Virtuaservices::Utils::Errors::HTTPError::new
# File lib/virtuaservices/utils/errors/forbidden.rb, line 8 def initialize (field:, action:, error:) super(action, field, error, 403) end