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

ORM\Dbal\Error

Table of Contents

Abstract

Extends: ORM\Exception

Validation Error

Constants

Name Value
ERROR_CODE 'UNKNOWN'

Methods

ORM\Dbal\Error::__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::__construct

↑ top


ORM\Dbal\Error::getError

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

ORM\Dbal\Error::getError

↑ top


ORM\Dbal\Error::getErrorCode

public function getErrorCode(): string
Returns string  

ORM\Dbal\Error::getErrorCode

↑ top