Exception: Cerbos::Error::ValidationFailed

Inherits:
Cerbos::Error
  • Object
show all
Defined in:
lib/cerbos/error.rb

Overview

Input failed schema validation.

Instance Attribute Summary collapse

Instance Attribute Details

#validation_errorsArray<Output::CheckResources::Result::ValidationError> (readonly)

The validation errors that occurred.

Returns:

  • (Array<Output::CheckResources::Result::ValidationError>)


11
12
13
# File 'lib/cerbos/error.rb', line 11

def validation_errors
  @validation_errors
end