# ThrowableRead

Chevere\Components\ThrowableHandler\ThrowableRead

view source (opens new window)

# Implements

# Constants

# DEFAULT_ERROR_TYPE

Type integer

1

# ERROR_TYPES

Type array

array (
  1 => 'Fatal error',
  2 => 'Warning',
  4 => 'Parse error',
  8 => 'Notice',
  16 => 'Core error',
  32 => 'Core warning',
  64 => 'Compile error',
  128 => 'Compile warning',
  256 => 'Fatal error',
  512 => 'Warning',
  1024 => 'Notice',
  2048 => 'Strict standards',
  4096 => 'Recoverable error',
  8192 => 'Deprecated',
  16384 => 'Deprecated',
)

# ERROR_LEVELS

Type array

array (
  1 => 'critical',
  2 => 'warning',
  4 => 'alert',
  8 => 'notice',
  16 => 'critical',
  32 => 'warning',
  64 => 'alert',
  128 => 'warning',
  256 => 'error',
  512 => 'warning',
  1024 => 'notice',
  2048 => 'notice',
  4096 => 'error',
  8192 => 'notice',
  16384 => 'notice',
)

# Methods

# __construct

Parameters


# className

Return

string


# code

Return

string


# severity

Return

int


# loggerLevel

Return

string


# type

Return

string


# message


# file

Return

string


# line

Return

int


# trace

Return

array


# hasPrevious

Return

bool


# previous


Last Updated: 5/1/2021, 2:31:10 PM