Exception: StatRaptor::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/statraptor/error.rb

Overview

Custom error class for rescuing from all StatRaptor errors

Direct Known Subclasses

NotFound, Unauthorized

Defined Under Namespace

Classes: NotFound, Unauthorized

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ StatRaptor::Error

Initializes a new Error object

Parameters:

  • message (String)


9
10
11
# File 'lib/statraptor/error.rb', line 9

def initialize(message)
  super(message)
end