Exception: Afipws::NetworkError
- Defined in:
- lib/afipws/errors/network_error.rb
Instance Method Summary collapse
-
#initialize(e, retriable: false) ⇒ NetworkError
constructor
A new instance of NetworkError.
- #retriable? ⇒ Boolean
Methods inherited from Error
Constructor Details
#initialize(e, retriable: false) ⇒ NetworkError
Returns a new instance of NetworkError.
3 4 5 6 7 |
# File 'lib/afipws/errors/network_error.rb', line 3 def initialize e, retriable: false super e @retriable = retriable end |
Instance Method Details
#retriable? ⇒ Boolean
9 10 11 |
# File 'lib/afipws/errors/network_error.rb', line 9 def retriable? @retriable end |