Sha256: ed7254ead88d8f0965792ffc6ab0d59c0b360cbc16ff890a3fc23532d931c0fd
Contents?: true
Size: 668 Bytes
Versions: 4
Compression:
Stored size: 668 Bytes
Contents
module AMEE class ArgumentError < Exception end class BadData < Exception def initialize(msg = nil) super(msg) @msg = msg @last_err = $! end def to_s if @last_err [@msg, @last_err.message, @last_err.backtrace.first].join "\n" else super end end end class AuthFailed < Exception end class PermissionDenied < Exception end class ConnectionFailed < Exception end class NotFound < Exception end class DuplicateResource < Exception end class UnknownError < Exception end class NotSupported < Exception end class Deprecated < Exception end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
amee-2.5.0 | lib/amee/exceptions.rb |
amee-2.4.0 | lib/amee/exceptions.rb |
amee-2.3.1 | lib/amee/exceptions.rb |
amee-2.3.0 | lib/amee/exceptions.rb |