PayMittoError
Definition
public struct PayMittoError: Error {
public init(code: String?, message: String) {
...
}
}Parameters
| Property | Type | Description |
|---|---|---|
| code | String? | A PayMitto API error code |
| message | String | A user friendly message to present inside the SDK interface |
Sample Usages
private let payMittoError: PayMittoError = .init(
code: nil,
message: "An unexpected error occurred. Please try again."
)Updated about 18 hours ago
