lib/workos/errors.rb in workos-0.1.0 vs lib/workos/errors.rb in workos-0.1.1
- old
+ new
@@ -1,10 +1,11 @@
# frozen_string_literal: true
# typed: true
+
module WorkOS
- # rubocop:disable Style/Documentation
+ # Parent class for WorkOS related errors
class WorkOSError < StandardError
extend T::Sig
attr_reader :http_status
attr_reader :request_id
@@ -41,8 +42,6 @@
class AuthenticationError < WorkOSError; end
# InvalidRequestError is raised when a request is initiated with invalid
# parameters.
class InvalidRequestError < WorkOSError; end
-
- # rubocop:enable Style/Documentation
end