Exception: Sxn::WorktreeCreationError

Inherits:
WorktreeError show all
Defined in:
lib/sxn/errors.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#exit_code

Instance Method Summary collapse

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(message, details: nil)
  super(message)
  @details = details
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



42
43
44
# File 'lib/sxn/errors.rb', line 42

def details
  @details
end