Exception: Dependabot::PullRequestCreator::AnnotationError
- Inherits:
-
StandardError
- Object
- StandardError
- Dependabot::PullRequestCreator::AnnotationError
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/pull_request_creator.rb
Overview
AnnotationError is raised if a PR was created, but failed annotation
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#pull_request ⇒ Object
readonly
Returns the value of attribute pull_request.
Instance Method Summary collapse
-
#initialize(cause, pull_request) ⇒ AnnotationError
constructor
A new instance of AnnotationError.
Constructor Details
#initialize(cause, pull_request) ⇒ AnnotationError
Returns a new instance of AnnotationError.
61 62 63 64 65 |
# File 'lib/dependabot/pull_request_creator.rb', line 61 def initialize(cause, pull_request) super(cause.) @cause = cause @pull_request = pull_request end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
52 53 54 |
# File 'lib/dependabot/pull_request_creator.rb', line 52 def cause @cause end |
#pull_request ⇒ Object (readonly)
Returns the value of attribute pull_request.
58 59 60 |
# File 'lib/dependabot/pull_request_creator.rb', line 58 def pull_request @pull_request end |