class Ballast::Errors::Base

The base error raised from an application.

@attribute [r] details

@return [String|Hash|NilClass] The details of the error. If a Hash, it should contain the keys `status` and `error`.

Attributes

details[R]

Public Class Methods

new(details = nil) click to toggle source

Creates a new error.

@param details [String|Hash|NilClass] The details of this error.

Calls superclass method
# File lib/ballast/errors.rb, line 19
def initialize(details = nil)
  super("")
  @details = details
end