code property

ExceptionCode? code
final

The error may have some code. This may be used for error message translations, and also to simplify receiving errors from web-services, cloud-functions etc.

Implementation

final ExceptionCode? code;