Sha256: 0cf46c70341b8844cb3683ead0cb93ad2267717862167db8c44e7da21c5bf030
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
module Citrulu # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
citrulu-0.1.0 | lib/citrulu/error.rb |