Exception: Nginxtra::Error::UndeterminedNginxBinary

Inherits:
ConvertFailed show all
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

Methods inherited from Base

#output

Constructor Details

#initializeUndeterminedNginxBinary

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