documentationLinks
DebuggableError.swift:90var documentationLinks: [String] { get }
var documentationLinks: [String] { get }
s5Vapor15DebuggableErrorPAAE18documentationLinksSaySSGvp
What are these?259M9
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
protocol DebuggableError : LocalizedError, CustomDebugStringConvertible, CustomStringConvertible
Debuggable
provides an interface that allows a type to be more easily debugged in the case of an error.
@frozen struct String
A Unicode string value that is a collection of characters.
var documentationLinks: [String] { get }
An array of string URL
s linking to documentation pertaining to the error.
static var readableName: String { get }
static var typeIdentifier: String { get }
var debugDescription: String { get }
See CustomDebugStringConvertible
var description: String { get }
See CustomStringConvertible
var errorDescription: String? { get }
A localized message describing what error occurred.
var failureReason: String? { get }
A localized message describing the reason for the failure.
var fullIdentifier: String { get }
var gitHubIssues: [String] { get }
var helpAnchor: String? { get }
A localized message providing “help” text if the user requests help.
var logLevel: Logger.Level { get }
var possibleCauses: [String] { get }
var recoverySuggestion: String? { get }
A localized message describing how one might recover from the failure.
var source: ErrorSource? { get }
var stackOverflowQuestions: [String] { get }
var suggestedFixes: [String] { get }
func debuggableHelp(format: HelpFormat) -> String
A computed property returning a String
that encapsulates why the error occurred, suggestions on how to fix the problem, and resources to consult in debugging (if these are available).
var stackTrace: StackTrace? { get }