class Rodauth::InternalRequestError

  1. lib/rodauth/features/internal_request.rb
Superclass: StandardError

Methods

Public Class

  1. new

Public Instance

  1. field_errors
  2. flash
  3. reason

Attributes

field_errors [RW]
flash [RW]
reason [RW]

Public Class methods

new(attrs)
[show source]
   # File lib/rodauth/features/internal_request.rb
13 def initialize(attrs)
14   return super if attrs.is_a?(String)
15 
16   @flash = attrs[:flash]
17   @reason = attrs[:reason]
18   @field_errors = attrs[:field_errors] || {}
19 
20   super(build_message)
21 end