I/O Conditions
These condition types are exported by both the (rnrs io ports (6)) and (rnrs io simple (6)) libraries.
Condition Type: &i/o
Scheme Procedure: make-i/o-error
Scheme Procedure: i/o-error? obj
A condition supertype for more specific I/O errors.
Condition Type: &i/o-read
Scheme Procedure: make-i/o-read-error
Scheme Procedure: i/o-read-error? obj
A subtype of &i/o; represents read-related I/O errors.
Condition Type: &i/o-write
Scheme Procedure: make-i/o-write-error
Scheme Procedure: i/o-write-error? obj
A subtype of &i/o; represents write-related I/O errors.
Condition Type: &i/o-invalid-position
Scheme Procedure: make-i/o-invalid-position-error position
Scheme Procedure: i/o-invalid-position-error? obj
Scheme Procedure: i/o-error-position condition
A subtype of &i/o; represents an error related to an attempt to set the file position to an invalid position.
Condition Type: &i/o-filename
Scheme Procedure: make-io-filename-error filename
Scheme Procedure: i/o-filename-error? obj
Scheme Procedure: i/o-error-filename condition
A subtype of &i/o; represents an error related to an operation on a named file.
Condition Type: &i/o-file-protection
Scheme Procedure: make-i/o-file-protection-error filename
Scheme Procedure: i/o-file-protection-error? obj
A subtype of &i/o-filename; represents an error resulting from an attempt to access a named file for which the caller had insufficient permissions.
Condition Type: &i/o-file-is-read-only
Scheme Procedure: make-i/o-file-is-read-only-error filename
Scheme Procedure: i/o-file-is-read-only-error? obj
A subtype of &i/o-file-protection; represents an error related to an attempt to write to a read-only file.
Condition Type: &i/o-file-already-exists
Scheme Procedure: make-i/o-file-already-exists-error filename
Scheme Procedure: i/o-file-already-exists-error? obj
A subtype of &i/o-filename; represents an error related to an operation on an existing file that was assumed not to exist.
Condition Type: &i/o-file-does-not-exist
Scheme Procedure: make-i/o-file-does-not-exist-error
Scheme Procedure: i/o-file-does-not-exist-error? obj
A subtype of &i/o-filename; represents an error related to an operation on a non-existent file that was assumed to exist.
Condition Type: &i/o-port
Scheme Procedure: make-i/o-port-error port
Scheme Procedure: i/o-port-error? obj
Scheme Procedure: i/o-error-port condition
A subtype of &i/o; represents an error related to an operation on the port port.