Exception: Teaspoon::ServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/teaspoon/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg_or_options) ⇒ ServerError

Returns a new instance of ServerError.



125
126
127
128
129
# File 'lib/teaspoon/exceptions.rb', line 125

def initialize(msg_or_options)
  super(build_message(msg_or_options) do |options|
    "Unable to start teaspoon server; #{options[:desc] || 'for an unknown reason'}."
  end)
end