mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
Doc - Fix OSError.message and errorCode doc
Bug: https://github.com/dart-lang/sdk/issues/30698 Change-Id: Iae4ed07171862b44d1303fe1ba33a587b04e5aa5 Reviewed-on: https://dart-review.googlesource.com/61981 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
parent
c97f177112
commit
2876bd08fb
1 changed files with 6 additions and 8 deletions
|
@ -53,16 +53,14 @@ class OSError {
|
|||
/** Constant used to indicate that no OS error code is available. */
|
||||
static const int noErrorCode = -1;
|
||||
|
||||
/**
|
||||
* Error message supplied by the operating system. null if no message is
|
||||
* associated with the error.
|
||||
*/
|
||||
/// Error message supplied by the operating system. This may be `null` or
|
||||
/// empty if no message is associated with the error.
|
||||
final String message;
|
||||
|
||||
/**
|
||||
* Error code supplied by the operating system. Will have the value
|
||||
* [noErrorCode] if there is no error code associated with the error.
|
||||
*/
|
||||
/// Error code supplied by the operating system.
|
||||
///
|
||||
/// Will have the value [OSError.noErrorCode] if there is no error code
|
||||
/// associated with the error.
|
||||
final int errorCode;
|
||||
|
||||
/** Creates an OSError object from a message and an errorCode. */
|
||||
|
|
Loading…
Reference in a new issue