Exception: Onsi::Params::MissingReqiredAttribute

Inherits:
Errors::BaseError show all
Defined in:
lib/onsi/params.rb

Overview

Note:

The ErrorResponder will rescue from this and return an appropriate error to the user

Raised when a required attribute has a nil value. ‘Params#require`

Instance Attribute Summary collapse

Instance Attribute Details

#attributeString (readonly)

The attribute that was missing when required.

Returns:

  • (String)


52
53
54
# File 'lib/onsi/params.rb', line 52

def attribute
  @attribute
end