chickadee » srfi-207 » bytestring-error?

bytestring-error? objprocedure

Returns #t if obj is an object signaled by any of the following procedures, in the circumstances described above:

  • bytestring
  • hex-string->bytestring
  • base64->bytestring
  • make-bytestring
  • make-bytestring!
  • bytestring-join
  • read-textual-bytestring
  • write-binary-bytestring
  • make-bytestring-generator

Like R7RS error objects, the bytestring-error objects provided by this implementation encapsulate a message and a collection of irritants. The former is a string; the latter can be any Scheme objects, generally those which caused the error to be signaled.

In this implementation, bytestring errors are conditions of kind (exn bytestring). They have the location, message, and arguments properties. See Module (chicken condition) for more on inspecting conditions.