ErrorResponse
open class ErrorResponse : ObjectBase
Encapsulates an OData error response.
-
A service-defined code for the error.
Declaration
Swift
final public var code: String
-
A human-readable, language-dependent message describing the error.
Declaration
Swift
final public var message: String
-
Optionally indicates an RFC 5646 language code for the error message.
Declaration
Swift
final public var language: String?
-
Optionally indicates the target of the error.
Declaration
Swift
final public var target: String?
-
Optional additional details about the error.
Declaration
Swift
final public var details: ErrorResponseList
-
Optional “@Core.ContentID” value from the response.
Declaration
Swift
final public var contentID: String?
-
Optional service specific debugging information that might assist a service implementer in determining the cause of an error. This would not usually be returned by a production service. The service might need to be configured in a test or debug mode before it will return inner error information.
Declaration
Swift
final public var innerDetails: String?
-
Optional raw response (of type
JsonObject
orXmlElement
). This allows access to non-standard error response information.Declaration
Swift
final public var rawResponse: AnyObject?
-
Default initializer.
Declaration
Swift
override public init()
-
Declaration
Swift
override open func toString() -> String
Return Value
A string representation of this object.