Exception: Nfe::ApiConnectionError

Inherits:
Error
  • Object
show all
Defined in:
lib/nfe/errors.rb,
sig/nfe/errors.rbs

Overview

A network-level failure (DNS, connection refused, TLS, reset). Raised instead of returning a response, since no HTTP exchange completed.

Direct Known Subclasses

TimeoutError

Instance Attribute Summary

Attributes inherited from Error

#error_code, #request_id, #response_body, #response_headers, #status_code

Method Summary

Methods inherited from Error

#initialize, #to_h

Constructor Details

This class inherits a constructor from Nfe::Error