LocalizedError

    Describes an error that provides localized messages describing why an error occurred and provides more information about the error.

    protocol LocalizedError : Error

    Supertypes

    • protocol Error

      A type representing an error value that can be thrown.

    • protocol Sendable

      A type whose values can safely be passed across concurrency domains by copying.

    Requirements

    Extension in Vapor

    Subtypes

    • protocol DebuggableError

      Debuggable provides an interface that allows a type to be more easily debugged in the case of an error.