# ThrowableHandlerHtmlDocument

Chevere\Components\ThrowableHandler\Documents\ThrowableHandlerHtmlDocument

view source (opens new window)

# Implements

# Extends

# Constants

# NO_DEBUG_TITLE_PLAIN

Type string

'Something went wrong'

# NO_DEBUG_CONTENT_HTML

Type string

'<p>Please try again later. If the problem persist don\'t hesitate to contact the system administrator.</p>'

# HTML_TEMPLATE

Type string

'<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><style>%css%</style></head><body class="%bodyClass%">%body%</body></html>'

# BODY_DEBUG_0_HTML

Type string

'<main class="user-select-none"><div>%content%</div></main>'

# BODY_DEBUG_1_HTML

Type string

'<main class="main--stack"><div>%content%</div></main>'

# SECTION_TITLE

Type string

'title'

# SECTION_MESSAGE

Type string

'message'

# SECTION_CHAIN

Type string

'chain'

# SECTION_ID

Type string

'id'

# SECTION_TIME

Type string

'time'

# SECTION_STACK

Type string

'stack'

# SECTION_SERVER

Type string

'server'

# TAG_TITLE

Type string

'%title%'

# TAG_MESSAGE

Type string

'%message%'

# TAG_CODE_WRAP

Type string

'%codeWrap%'

# TAG_ID

Type string

'%id%'

# TAG_FILE_LINE

Type string

'%fileLine%'

# TAG_DATE_TIME_UTC_ATOM

Type string

'%dateTimeUtcAtom%'

# TAG_TIMESTAMP

Type string

'%timestamp%'

# TAG_STACK

Type string

'%stack%'

# TAG_PHP_UNAME

Type string

'%phpUname%'

# TAG_CHAIN

Type string

'%chain%'

# SECTIONS

Type array

array (
  0 => 'title',
  1 => 'chain',
  2 => 'message',
  3 => 'id',
  4 => 'time',
  5 => 'stack',
  6 => 'server',
)

# SECTIONS_VERBOSITY

Type array

array (
  'title' => 16,
  'chain' => 16,
  'message' => 16,
  'id' => 16,
  'time' => 64,
  'stack' => 128,
  'server' => 64,
)

# Methods

# getFormatter


# getTemplate

Return

array


# getContent

Parameters

  • content: string

Return

string


# getSectionTitle

Return

string


# __construct

Parameters


# withVerbosity

Parameters

  • verbosity: int

Return

static


# verbosity

Return

int


# toString

Return

string


# getSectionMessage

Return

string


# getSectionChain

Return

string


# getSectionId

Return

string


# getSectionTime

Return

string


# getSectionStack

Return

string


# getSectionServer

Return

string


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