Exception: Afipws::NetworkError

Inherits:
Error
  • Object
show all
Defined in:
lib/afipws/errors/network_error.rb

Instance Method Summary collapse

Methods inherited from Error

#code?

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

Returns:

  • (Boolean)


9
10
11
# File 'lib/afipws/errors/network_error.rb', line 9

def retriable?
  @retriable
end