Exception: Pione::Front::FrontServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/pione/front/front-exception.rb

Overview

FrontError is raised when front server cannnot start.

Instance Method Summary collapse

Constructor Details

#initialize(front, exception) ⇒ FrontServerError

Returns a new instance of FrontServerError.



8
9
10
11
# File 'lib/pione/front/front-exception.rb', line 8

def initialize(front, exception)
  @front = front
  @exception = exception
end

Instance Method Details

#messageObject



13
14
15
# File 'lib/pione/front/front-exception.rb', line 13

def message
  "You couldn't start front server(%s): %s" % [@front.class.name, @exception.message]
end