Exception: ApiError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ApiError
- Defined in:
- lib/sqa/errors.rb
Overview
Raised when an external API returns an error response. Automatically logs the error using debug_me before raising.
Class Method Summary collapse
-
.raise(why) ⇒ Object
Raises an ApiError with debug logging.
Class Method Details
.raise(why) ⇒ Object
Raises an ApiError with debug logging.
72 73 74 75 |
# File 'lib/sqa/errors.rb', line 72 def self.raise(why) debug_me {"API Error: #{why}"} super end |