class Bovem::Errors::Error

This exception is raised when something goes wrong.

@attribute [r] target

@return [Object] The target of this error.

@attribute [r] reason

@return [Symbol] The reason of failure.

@attribute [r] message

@return [String] A human readable message.

Attributes

message[R]
reason[R]
target[R]

Public Class Methods

new(target, reason, message) click to toggle source

Initializes a new error

@param target [Object] The target of this error. @param reason [Symbol] The reason of failure. @param message [String] A human readable message.

Calls superclass method
# File lib/bovem/errors.rb, line 36
def initialize(target, reason, message)
  super(message)

  @target = target
  @reason = reason
  @message = message
end