RSError
public struct RSError : RSErrorResponse
Default implementation of RSErrorResponse. Easy way to send error responses with messages and status codes on the fly
-
Declaration
Swift
public var message: String { get }
-
Declaration
Swift
public var statusCode: UInt32 { get }
-
Declaration
Swift
public var errorDescription: String? { get }
-
Declaration
Swift
public init(message: String, statusCode: UInt32 = 0)