Exception: Miasma::Error

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

Overview

Generic Error class

Defined Under Namespace

Classes: ApiError, ImmutableError, ModelPersistError, OrchestrationError

Instance Method Summary collapse

Constructor Details

#initialize(msg, args = {}) ⇒ self

Create new error instance

Parameters:

  • msg (String)

    error message

  • args (Hash) (defaults to: {})

    optional arguments



12
13
14
# File 'lib/miasma/error.rb', line 12

def initialize(msg, args={})
  super msg
end