Skip to content

Commit

Permalink
Edit error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mqkotoo committed Sep 13, 2023
1 parent c190aae commit df13490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/weather_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class WeatherService {
} on CheckedFromJsonException catch (_) {
return const Failure<WeatherData, String>('不適切なデータを取得しました。');
} on FormatException catch (_) {
return const Failure<WeatherData, String>('jsonのデコードに失敗しました。');
return const Failure<WeatherData, String>('不適切なデータを取得しました。');
}
}
}

0 comments on commit df13490

Please sign in to comment.