Error Details
class ErrorDetails(val category: String, val code: String, val detail: String, val field: String? = null)
Detailed errors to explain a failure. Typically these are returned from Square's Connect v2 REST APIs, and are documented here. However, there may be conditions where an error is generated by the SDK itself, for example to explain errors that prevented server or cardreader communication.