ICanBoogie/Validate master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Validate
      • Reader
      • Validation
      • Validator
      • ValidatorProvider

Classes

  • Context
  • Message
  • Render
  • Validation
  • ValidationErrors

Interfaces

  • Reader
  • Validator
  • ValidatorOptions
  • ValidatorProvider

Exceptions

  • ParameterIsMissing
  • ValidationFailed

Class ValidationFailed

Exception throw when asserting a validation failed.

Exception implements Throwable
Extended by LogicException
Extended by ICanBoogie\Validate\ValidationFailed
Namespace: ICanBoogie\Validate
Located at ValidationFailed.php

Methods summary

public
# __construct( ICanBoogie\Validate\ValidationErrors $errors, Exception $previous = null )

Parameters

$errors
$previous

Overrides

Exception::__construct
protected string
# format_message( ICanBoogie\Validate\ValidationErrors $errors )

Formats the exception message.

Formats the exception message.

Parameters

$errors

Returns

string

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Constants summary

string DEFAULT_MESSAGE
# "Validation failed."

Properties summary

public ICanBoogie\Validate\ValidationErrors $errors
#

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only ICanBoogie\Validate\ValidationErrors $errors
ICanBoogie/Validate master API documentation generated by ApiGen