Exception: Sxn::WorktreeCreationError
- Inherits:
-
WorktreeError
- Object
- StandardError
- Error
- GitError
- WorktreeError
- Sxn::WorktreeCreationError
- Defined in:
- lib/sxn/errors.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, details: nil) ⇒ WorktreeCreationError
constructor
A new instance of WorktreeCreationError.
Constructor Details
#initialize(message, details: nil) ⇒ WorktreeCreationError
Returns a new instance of WorktreeCreationError.
44 45 46 47 |
# File 'lib/sxn/errors.rb', line 44 def initialize(, details: nil) super() @details = details end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
42 43 44 |
# File 'lib/sxn/errors.rb', line 42 def details @details end |