1. Dart
2. dart:io
3. SocketException
4. osError property

##### SocketException class

1. Constructors
2. SocketException
3. closed
4. Properties
5. address
6. hashCode
7. message
8. osError
9. port
10. runtimeType
11. Methods
12. noSuchMethod
13. toString
14. Operators
15. operator ==

description

# osError property Null safety

OSError? osError
final

The underlying OS error.

If this exception is not thrown due to an OS error, the value is `null`.

## Implementation

    final OSError? osError