Exception: CoronaPresenceTracing::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- CoronaPresenceTracing::ValidationError
- Defined in:
- lib/corona_presence_tracing/validator.rb
Instance Attribute Summary collapse
-
#attr ⇒ Object
readonly
Returns the value of attribute attr.
-
#check_in ⇒ Object
readonly
Returns the value of attribute check_in.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(check_in, attr, error, message) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(check_in, attr, error, message) ⇒ ValidationError
Returns a new instance of ValidationError.
7 8 9 10 11 12 |
# File 'lib/corona_presence_tracing/validator.rb', line 7 def initialize(check_in, attr, error, ) @check_in = check_in @attr = attr @error = error super() end |
Instance Attribute Details
#attr ⇒ Object (readonly)
Returns the value of attribute attr.
5 6 7 |
# File 'lib/corona_presence_tracing/validator.rb', line 5 def attr @attr end |
#check_in ⇒ Object (readonly)
Returns the value of attribute check_in.
5 6 7 |
# File 'lib/corona_presence_tracing/validator.rb', line 5 def check_in @check_in end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
5 6 7 |
# File 'lib/corona_presence_tracing/validator.rb', line 5 def error @error end |