errorCode property
DatabaseErrorCode
get
errorCode
The failure as an enum, derived from code: DatabaseErrorCode.unknown for a code this version does
not know. Use it to switch exhaustively; code stays for compatibility with FirebaseException.
Implementation
DatabaseErrorCode get errorCode => DatabaseErrorCode.fromCode(code);