Exception: Nginxtra::Error::InvalidPartialArguments
- Inherits:
-
InvalidConfig
- Object
- StandardError
- Base
- InvalidConfig
- Nginxtra::Error::InvalidPartialArguments
- Defined in:
- lib/nginxtra/error.rb
Overview
Raised if a partial is called with anything but no arguments or a single Hash.
Constant Summary collapse
- HEADER =
"Invalid partial arguments!".freeze
- MESSAGE =
"You can only pass 0 arguments or 1 hash to a partial!".freeze
Instance Method Summary collapse
-
#initialize ⇒ InvalidPartialArguments
constructor
A new instance of InvalidPartialArguments.
Methods inherited from Base
Constructor Details
#initialize ⇒ InvalidPartialArguments
Returns a new instance of InvalidPartialArguments.
80 81 82 |
# File 'lib/nginxtra/error.rb', line 80 def initialize super("Invalid partial arguments", header: HEADER, message: MESSAGE) end |