Sha256: ab34e6af76ca3c26f0f2b1c20625df05c62d61a6870095d8dcb5f54e08544d56

Contents?: true

Size: 261 Bytes

Versions: 5

Compression:

Stored size: 261 Bytes

Contents

module Enceladus::Exception
  class Base < ::Exception
    def initialize(message)
      Enceladus::Logger.log.error { message }
      super(message)
    end
  end

  class Api < Base; end
  class ArgumentError < Base; end
  class JsonParseError < Base; end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enceladus-0.0.8 lib/enceladus/exceptions.rb
enceladus-0.0.7 lib/enceladus/exceptions.rb
enceladus-0.0.6 lib/enceladus/exceptions.rb
enceladus-0.0.5 lib/enceladus/exceptions.rb
enceladus-0.0.4 lib/enceladus/exceptions.rb