Next: , Up: iklib conditions string   [Index]


6.12.18.1 Generic string encoding condition types

Encoding strings

Condition Type: &string-encoding

Condition object type representing an error while encoding a string into a bytevector; it is derived from &error.

Function: make-string-encoding-error

Build and return a new condition object of type &string-encoding.

Function: string-encoding-error? obj

Return #t if obj is a condition object of type &string-encoding; otherwise return #f.

Decoding strings

Condition Type: &string-decoding

Condition object type representing an error while encoding a bytevector into a string; it is derived from &error.

Function: make-string-decoding-error

Build and return a new condition object of type &string-decoding.

Function: string-decoding-error? obj

Return #t if obj is a condition object of type &string-decoding; otherwise return #f.