Exception: Ace::Review::Errors::PrNotFoundError
- Defined in:
- lib/ace/review/errors.rb
Overview
Raised when a PR is not found
Instance Attribute Summary collapse
-
#pr_identifier ⇒ Object
readonly
Returns the value of attribute pr_identifier.
Instance Method Summary collapse
-
#initialize(pr_identifier, details = nil) ⇒ PrNotFoundError
constructor
A new instance of PrNotFoundError.
Constructor Details
#initialize(pr_identifier, details = nil) ⇒ PrNotFoundError
Returns a new instance of PrNotFoundError.
63 64 65 66 67 68 69 |
# File 'lib/ace/review/errors.rb', line 63 def initialize(pr_identifier, details = nil) @pr_identifier = pr_identifier = "Pull request '#{pr_identifier}' not found." += "\n#{details}" if details super() end |
Instance Attribute Details
#pr_identifier ⇒ Object (readonly)
Returns the value of attribute pr_identifier.
61 62 63 |
# File 'lib/ace/review/errors.rb', line 61 def pr_identifier @pr_identifier end |