Create user facing error from json.
factory UserFacingError.fromJson(Map<String, dynamic> json) => _$UserFacingErrorFromJson(json);