Exception: Nginxtra::Error::NoConfigSpecified

Inherits:
InvalidConfig show all
Defined in:
lib/nginxtra/error.rb

Overview

Raise when a config file doesn’t actually specify the config

Instance Method Summary collapse

Methods inherited from Base

#output

Constructor Details

#initialize(config_path) ⇒ NoConfigSpecified

Returns a new instance of NoConfigSpecified.



97
98
99
# File 'lib/nginxtra/error.rb', line 97

def initialize(config_path)
  super("No configuration is specified in #{config_path}!")
end