Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:io
  3. OSError class
OSError
description

OSError class

AnException holding information about an error from theoperating system.

Implemented types

Constructors

OSError([Stringmessage ="",interrorCode =noErrorCode])
Creates an OSError object from a message and an errorCode.
const

Properties

errorCodeint
Error code supplied by the operating system.
final
hashCodeint
The hash code for this object.
no setterinherited
messageString
Error message supplied by the operating system. This will be empty if nomessage is associated with the error.
final
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
Converts an OSError object to a string representation.
override

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Constants

noErrorCode→ constint
Constant used to indicate that no OS error code is available.
  1. Dart
  2. dart:io
  3. OSError class
dart:io library

[8]ページ先頭

©2009-2025 Movatter.jp