code property

String code
final

Error codes are strings using the following format: "service/string-code". Some examples include "auth/invalid-uid" and "messaging/invalid-recipient".

While the message for a given error can change, the code will remain the same between backward-compatible versions of the Firebase SDK.

Implementation

final String code;