Exception: Nginxtra::Error::UndeterminedNginxBinary
- Inherits:
-
ConvertFailed
- Object
- StandardError
- Base
- ConvertFailed
- Nginxtra::Error::UndeterminedNginxBinary
- Defined in:
- lib/nginxtra/error.rb
Overview
Raised if the nginx binary cannot be determined from the /etc/init.d/nginx init script.
Constant Summary collapse
- HEADER =
"Cannot find nginx binary!".freeze
- MESSAGE =
"The binary location of nginx cannot be determined from /etc/init.d/nginx. Either point to it via --nginx-bin or ignore the binary with --ignore-nginx-bin".freeze
Instance Method Summary collapse
-
#initialize ⇒ UndeterminedNginxBinary
constructor
A new instance of UndeterminedNginxBinary.
Methods inherited from Base
Constructor Details
#initialize ⇒ UndeterminedNginxBinary
Returns a new instance of UndeterminedNginxBinary.
35 36 37 |
# File 'lib/nginxtra/error.rb', line 35 def initialize super("Cannot determine nginx binary", header: HEADER, message: MESSAGE) end |