Exception: GitCloud::FileException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- GitCloud::FileException
- Defined in:
- lib/git_cloud/file_exception.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(cause) ⇒ FileException
constructor
A new instance of FileException.
Constructor Details
#initialize(cause) ⇒ FileException
Returns a new instance of FileException.
4 5 6 7 |
# File 'lib/git_cloud/file_exception.rb', line 4 def initialize(cause) @cause = cause @message = "Error::FileException::#{@cause}" end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
3 4 5 |
# File 'lib/git_cloud/file_exception.rb', line 3 def command @command end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
3 4 5 |
# File 'lib/git_cloud/file_exception.rb', line 3 def @message end |