Exception: Exo::Site::UnknowHostError
- Inherits:
-
Exception
- Object
- Exception
- Exo::Site::UnknowHostError
- Defined in:
- app/exceptions/exo/site/unknow_host_error.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
Instance Method Summary collapse
-
#initialize(host) ⇒ UnknowHostError
constructor
A new instance of UnknowHostError.
- #to_partial_path ⇒ Object
Constructor Details
#initialize(host) ⇒ UnknowHostError
Returns a new instance of UnknowHostError.
4 5 6 7 |
# File 'app/exceptions/exo/site/unknow_host_error.rb', line 4 def initialize host self.host = host super "Unknow host #{host}" end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
2 3 4 |
# File 'app/exceptions/exo/site/unknow_host_error.rb', line 2 def host @host end |
Instance Method Details
#to_partial_path ⇒ Object
9 10 11 |
# File 'app/exceptions/exo/site/unknow_host_error.rb', line 9 def to_partial_path 'exo/errors/unknow_host' end |