Gini Bank SDK for Android
Gini Bank SDK for Android
/
net.gini.android.capture.network
/
Error
Error
public
class
Error
Used by the
GiniCaptureNetworkService
and GiniCaptureNetworkApi to return error messages.
Constructors
Functions
Constructors
Error
Link copied to clipboard
public
void
Error
(
@
NonNull
(
)
String
message
)
Create a new error.
Error
Link copied to clipboard
public
void
Error
(
@
NonNull
(
)
String
message
,
@
NonNull
(
)
Throwable
cause
)
Create a new error with a cause.
Error
Link copied to clipboard
public
void
Error
(
Integer
statusCode
,
Map
<
String
,
List
<
String
>
>
headers
,
Throwable
exception
)
Create a new error with status code and headers.
Error
Link copied to clipboard
public
void
Error
(
FileImportValidator.Error
fileImportErrors
)
Create a new error for file handling
Functions
get
Cause
Link copied to clipboard
@
Nullable
(
)
public
Throwable
getCause
(
)
get
File
Import
Errors
Link copied to clipboard
public
FileImportValidator.Error
getFileImportErrors
(
)
get
Headers
Link copied to clipboard
@
Nullable
(
)
public
Map
<
String
,
List
<
String
>
>
getHeaders
(
)
get
Message
Link copied to clipboard
@
NonNull
(
)
public
String
getMessage
(
)
get
Status
Code
Link copied to clipboard
@
Nullable
(
)
public
Integer
getStatusCode
(
)