Sha256: df38f1c238fc53534cf79b4e5e1107409f19db30e9f5e5a6024680df2aba2994
Contents?: true
Size: 627 Bytes
Versions: 1
Compression:
Stored size: 627 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amee-2.2.1 | lib/amee/exceptions.rb |