Sha256: b3761e2134fe3e403f8aec6cfc4bfa1879aca9441fbf9c2783fa3faa78f214d6
Contents?: true
Size: 395 Bytes
Versions: 1
Compression:
Stored size: 395 Bytes
Contents
module Wakatime class WakatimeError < StandardError attr_accessor :body, :status def initialize(error_json, status, body) @status = status @body = body @error_json = error_json end def [](key) @error_json[key] end end class AuthError < WakatimeError; end class RequestError < WakatimeError; end class ServerError < WakatimeError; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wakatime-0.0.1 | lib/wakatime/exceptions.rb |