ServerJS/IO/A: Difference between revisions

Line 177: Line 177:
=== IOError ===
=== IOError ===


todo
IOError is thrown by stream methods to signal an error in the underlying I/O medium.
 
===== Constructor =====
 
;[new] IOError(message String) IOError
:Create a new IOError with the given message.
 
===== Instance Properties =====
 
;name String
;The error name: "IOError"
 
;message String
;The error message
 
===== Instance Methods =====
 
;toString() String
:A description of the error in the format "name: message"


= Notes =
= Notes =


* This proposal does not describe non-blocking I/O, nor does it describe buffered I/O. These may be introduced in a later revision of the spec, possibly in conjunction with a Socket API. Platforms are free to implement non-blocking and buffered I/O in their own specific way.
* This proposal does not describe non-blocking I/O, nor does it describe buffered I/O. These may be introduced in a later revision of the spec, possibly in conjunction with a Socket API. Platforms are free to implement non-blocking and buffered I/O in their own specific way.
55

edits