boost::capy::error

Error codes for capy I/O operations.

Synopsis

Declared in <boost/capy/error.hpp>

enum class error : int;

Description

These codes are produced by capy algorithms and I/O operations.

Callers must never compare received error_code values directly against this enum. Always compare against the portable cond error conditions instead. These enum values are implementation details subject to change.

Members

Name

Description

eof

End‐of‐stream reached. Compare with cond::eof.

canceled

Operation was cancelled. Compare with cond::canceled.

test_failure

Internal test assertion failed.

stream_truncated

Peer closed connection without proper TLS shutdown. Compare with cond::stream_truncated.

not_found

Requested item was not found. Compare with cond::not_found.

See Also

cond

Created with MrDocs