Sha256: 7b4391410da2d69b84c0f129d563aa4529d32b1a64c0d008465b7ba8c2f1ff84
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
module Weeblycloud # Raised with a response error from the API class ResponseError < StandardError attr_reader :code, :message def initialize(msg = "Unknown error occured", code) @code = code @message = msg m = "(CODE: \##{@code}) #{@msg}" super(m) end end # Raised with invalid pagination method invocation PaginationError = Class.new(StandardError) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
weeblycloud-1.0.0 | lib/weeblycloud/cloudclient/exceptions.rb |