Required Instance Propertyvapor 4.106.3Vapor
source
Optional source for this error
DebuggableError.swift:29var source: ErrorSource? { get }
Other requirements
View members
Hide members
This section is hidden by default because it contains too many (11) members.
Type members
static var readableName: String
A readable name for the error’s Type. This is usually similar to the Type name of the error with spaces added. This will normally be printed proceeding the error’s reason.
static var typeIdentifier: String
A unique identifier for the error’s Type.
Instance members
var documentationLinks: [String]
An array of string
URL
s linking to documentation pertaining to the error.var gitHubIssues: [String]
An array of string
URL
s linking to related issues on Vapor’s GitHub repo.var identifier: String
Some unique identifier for this specific error. This will be used to create the
identifier
property. Do NOT useString(reflecting: self)
orString(describing: self)
or there will be infinite recursionvar logLevel: Logger.Level
Which log level this error should report as. Defaults to
.warning
.var possibleCauses: [String]
A
String
array describing the possible causes of the error.var reason: String
The reason for the error. Usually one sentence (that should end with a period).
var stackOverflowQuestions: [String]
An array of string
URL
s linking to related Stack Overflow questions.var suggestedFixes: [String]
A
String
array listing some common fixes for the error.
Show obsolete interfaces (1)
Hide obsolete interfaces
var stackTrace: StackTrace?
Stack trace from which this error originated (must set this from the error’s init)