Exception: IERS::ValidationError
- Inherits:
-
DownloadError
- Object
- StandardError
- Error
- DownloadError
- IERS::ValidationError
- Defined in:
- lib/iers/errors.rb
Instance Attribute Summary collapse
- #path ⇒ Pathname? readonly
- #reason ⇒ String? readonly
Instance Method Summary collapse
-
#initialize(message = nil, path: nil, reason: nil) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message = nil, path: nil, reason: nil) ⇒ ValidationError
Returns a new instance of ValidationError.
52 53 54 55 56 |
# File 'lib/iers/errors.rb', line 52 def initialize( = nil, path: nil, reason: nil) @path = path @reason = reason super() end |
Instance Attribute Details
#path ⇒ Pathname? (readonly)
48 49 50 |
# File 'lib/iers/errors.rb', line 48 def path @path end |
#reason ⇒ String? (readonly)
50 51 52 |
# File 'lib/iers/errors.rb', line 50 def reason @reason end |