feat: error-codes in flash messages to reference log entries
This commit is contained in:
@@ -112,6 +112,11 @@ class LogEntry
|
||||
return $this->getExtra()['request_id'] ?? '-';
|
||||
}
|
||||
|
||||
public function getErrorCode(): string
|
||||
{
|
||||
return $this->getExtra()['error_code'] ?? '-';
|
||||
}
|
||||
|
||||
public function getUri(): string
|
||||
{
|
||||
return $this->getExtra()['uri'] ?? '';
|
||||
|
||||
Reference in New Issue
Block a user