Sha256: 28cac88661e38cc18a3f451271b867a48c2b5fe987f0b03221c78828ba21ee11
Contents?: true
Size: 663 Bytes
Versions: 1
Compression:
Stored size: 663 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).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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amee-2.5.1 | lib/amee/exceptions.rb |