Sha256: 48f8dbad3f6576878f93ceeaf0f99b286be5d19d4ce173ed5c625f4b9cb23b34
Contents?: true
Size: 390 Bytes
Versions: 5
Compression:
Stored size: 390 Bytes
Contents
module Citrulu #:nodoc: # Custom error class for rescuing from all Citrulu errors class Error < StandardError; end # Raised when Citrulu returns the HTTP status code 404 class NotFound < Error; end # Raised when authentication failed (401) class AccessDenied < Error; end # Raised when Citrulu returns the HTTP status code 500 class InternalServerError < Error; end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
citrulu-0.2.3 | lib/citrulu/error.rb |
citrulu-0.2.2 | lib/citrulu/error.rb |
citrulu-0.2.1 | lib/citrulu/error.rb |
citrulu-0.2.0 | lib/citrulu/error.rb |
citrulu-0.1.1 | lib/citrulu/error.rb |