Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1050)

Unified Diff: lib/src/authorization_exception.dart

Issue 1311323002: Modernize the style. (Closed) Base URL: git@github.com:dart-lang/oauth2.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/src/authorization_exception.dart
diff --git a/lib/src/authorization_exception.dart b/lib/src/authorization_exception.dart
index 2a19cd11c64cda5231c1134806625feae920ef7b..838d0011fbbe327cd88bac5224ffbdf54bc8de3e 100644
--- a/lib/src/authorization_exception.dart
+++ b/lib/src/authorization_exception.dart
@@ -2,20 +2,26 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library authorization_exception;
+library oauth2.authorization_exception;
/// An exception raised when OAuth2 authorization fails.
class AuthorizationException implements Exception {
- /// The name of the error. Possible names are enumerated in [the spec][].
+ /// The name of the error.
+ ///
+ /// Possible names are enumerated in [the spec][].
///
/// [the spec]: http://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-5.2
final String error;
- /// The description of the error, provided by the server. Defaults to null.
+ /// The description of the error, provided by the server.
+ ///
+ /// May be `null` if the server provided no description.
final String description;
- /// A URI for a page that describes the error in more detail, provided by the
- /// server. Defaults to null.
+ /// A URL for a page that describes the error in more detail, provided by the
+ /// server.
+ ///
+ /// May be `null` if the server provided no URL.
final Uri uri;
/// Creates an AuthorizationException.

Powered by Google App Engine
This is Rietveld 408576698