lib/critic/authorization_denied.rb in critic-0.2.0 vs lib/critic/authorization_denied.rb in critic-0.2.1
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+# Custom error class for authorization failures
class Critic::AuthorizationDenied < Critic::Error
DEFAULT_MESSAGE = 'Authorization denied'
attr_reader :authorization