You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dafl_music/Sources/dafl_project_flutter/lib/exceptions/http_exception.dart

10 lines
258 B

import 'dart:developer' as dev;
class HttpException implements Exception {
HttpException(var value) {
dev.log('Http request failed :');
dev.log('Status code : ${value.statusCode.toString()}');
dev.log('Body : ${value.body.toString()}');
}
}