Exception: Skykick::SkykickError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/skykick/error.rb

Overview

Base error class for all exceptions raised by the Skykick API. This allows rescuing all Skykick-related errors in a single block if desired. Example:

begin
  # Code that interacts with the Skykick API
rescue Skykick::SkykickError => e
  puts "An error occurred: #{e.message}"
end

Direct Known Subclasses

AuthenticationError, ConfigurationError