Exception: Ace::Review::Errors::GhAuthenticationError

Inherits:
Error
  • Object
show all
Defined in:
lib/ace/review/errors.rb

Overview

Raised when user is not authenticated with GitHub

Instance Method Summary collapse

Constructor Details

#initializeGhAuthenticationError

Returns a new instance of GhAuthenticationError.



50
51
52
53
54
55
56
# File 'lib/ace/review/errors.rb', line 50

def initialize
  message = "GitHub authentication required.\n"
  message += "Run 'gh auth login' to authenticate with GitHub.\n"
  message += "Check status: gh auth status"

  super(message)
end