32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
extends layout
|
|
|
|
include mixins/_breadcrumb
|
|
|
|
block content
|
|
.layout-centered
|
|
+breadcrumb
|
|
.error
|
|
h1 #{translate('somethingWentWrongLabel', currentLocale.code)} (#{error.status})
|
|
h2 #{translate('tryLabel', currentLocale.code)}:
|
|
ul
|
|
case error.status
|
|
when 404
|
|
li #{translate('error404Route', currentLocale.code)}
|
|
li #{translate('draftOrPublishedErrorLabel', currentLocale.code)}
|
|
when 400
|
|
li #{translate('contentModelChangedErrorLabel', currentLocale.code)}
|
|
when 401
|
|
li #{translate('verifyCredentialsErrorLabel', currentLocale.code)}
|
|
li #{translate('localeContentErrorLabel', currentLocale.code)}
|
|
|
|
if error.stack
|
|
li #{translate('stackTraceErrorLabel', currentLocale.code)}
|
|
if error.response
|
|
h2 #{translate('errorLabel', currentLocale.code)}
|
|
pre.error__stack-trace
|
|
code.shell #{helpers.dump(error.response.data)}
|
|
if error.stack
|
|
h2 #{translate('stackTraceLabel', currentLocale.code)}
|
|
pre.error__stack-trace
|
|
code.shell #{error.stack}
|