Sha256: 4aa28f67b65167b896c6dc570f17b1b565fd02ae1e2da29df3aaf237d09570b8

Contents?: true

Size: 286 Bytes

Versions: 8

Compression:

Stored size: 286 Bytes

Contents

module StatRaptor
  # Custom error class for rescuing from all StatRaptor errors
  class Error < StandardError

    # Initializes a new Error object
    #
    # @param message [String]
    # @return [StatRaptor::Error]
    def initialize(message)
      super(message)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
statraptor-0.2.6 lib/statraptor/error.rb
statraptor-0.2.5 lib/statraptor/error.rb
statraptor-0.2.4 lib/statraptor/error.rb
statraptor-0.2.3 lib/statraptor/error.rb
statraptor-0.2.2 lib/statraptor/error.rb
statraptor-0.2.1 lib/statraptor/error.rb
statraptor-0.2.0 lib/statraptor/error.rb
statraptor-0.1.0 lib/statraptor/error.rb