Update user_agent.dart

This commit is contained in:
Tobe O 2016-12-11 23:27:25 -05:00 committed by GitHub
parent 36311e3628
commit 2d2d08ecd7

View file

@ -3,4 +3,14 @@ library user_agent;
import 'src/matchers.dart';
import 'src/user_agent.dart';
/// Parses the given header into a user agent.
UserAgent parse(String header) {}
class UserAgentException implements Exception {
final String message;
UserAgentException(this.message);
@override
String toString() => 'User Agent exception: $message';
}