Error::__construct

(PHP 7, PHP 8)

Error::__constructConstrói o objeto error

Descrição

public Error::__construct ( string $message = "" , int $code = 0 , Throwable $previous = null )

Constrói o Erro

Parâmetros

message

A mensagem de erro.

code

O código do erro.

previous

O último lançável utilizado para o aninhamento de exceção.

Notas

Nota:

O parâmetro message NÃO é binary safe.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top