Error

public struct Error : Codable, Equatable, FunctionResult
extension Error: Swift.Error

An object of this type can be returned on every function call, in case of an error

  • Error code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user

    Declaration

    Swift

    public let code: Int32
  • Error message; subject to future changes

    Declaration

    Swift

    public let message: String
  • An object of this type can be returned on every function call, in case of an error

    Declaration

    Swift

    public init(code: Int32, message: String)

    Parameters

    code

    Error code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user

    message

    Error message; subject to future changes