code property

String? code
getter/setter pair

A unique, unchanging machine-readable error code. This may or may not be included in the error payload, depending on the type of error.

Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.

Implementation

String? code;