Exception: SOULs::PSQLException
- Inherits:
-
CLIException
- Object
- StandardError
- CLIException
- SOULs::PSQLException
- Defined in:
- lib/souls/cli/cli_exception.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize ⇒ PSQLException
constructor
A new instance of PSQLException.
Constructor Details
#initialize ⇒ PSQLException
Returns a new instance of PSQLException.
14 15 16 17 18 |
# File 'lib/souls/cli/cli_exception.rb', line 14 def initialize = "It looks like there was a problem with the DB. Make sure PSQL is running with 'souls docker psql'" super() @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
12 13 14 |
# File 'lib/souls/cli/cli_exception.rb', line 12 def @message end |