tflori/orm

just another orm...

View the Project on GitHub tflori/orm

Build Status Test Coverage Maintainability Latest Stable Version Total Downloads

» API Reference » ORM\Dbal\Error\NotValid

ORM\Dbal\Error\NotValid

Table of Contents

Abstract

Extends: ORM\Dbal\Error

NotValid Validation Error

Constants

Name Value
ERROR_CODE 'NOT_VALID'

Methods

ORM\Dbal\Error\NotValid::__construct

public function __construct(
    array $params = [], 
    ?string $code = null, 
    ?string $message = null, 
    ?\ORM\Dbal\Error $previous = null, 
)
Error constructor
Parameters
Parameter Type Description
$params array  
$code ?string  
$message ?string  
$previous ?ORM\Dbal\Error  

ORM\Dbal\Error\NotValid::__construct

↑ top


ORM\Dbal\Error\NotValid::getError

public function getError(): ?\ORM\Dbal\Error
Returns ?ORM\Dbal\Error  

ORM\Dbal\Error\NotValid::getError

↑ top


ORM\Dbal\Error\NotValid::getErrorCode

public function getErrorCode(): string
Returns string  

ORM\Dbal\Error\NotValid::getErrorCode

↑ top