FormError

public class FormError 

Error information about why a form operation failed.

Summary

Nested types

@ Retention (value = SOURCE)
@ IntDef (value = [ErrorCode.INTERNAL_ERROR, ErrorCode.INTERNET_ERROR, ErrorCode.INVALID_OPERATION, ErrorCode.TIME_OUT])
public annotation FormError.ErrorCode

Error code values.

Public fields

final int
final String

Public methods

int

Gets the error code.

String

Gets the message describing the error.

Public fields

errorCode

public final int  errorCode 

message

public final  String 
 message 

Public methods

getErrorCode

@ FormError.ErrorCode 

public int  getErrorCode ()

Gets the error code. See ErrorCode for possible values.

getMessage

public  String 
 getMessage 
()

Gets the message describing the error.

Create a Mobile Website
View Site in Mobile | Classic
Share by: