@gmod/cram
Version:
read CRAM files with pure Javascript
23 lines (22 loc) • 756 B
TypeScript
export declare class CramError extends Error {
}
/** Error caused by encountering a part of the CRAM spec that has not yet been implemented */
export declare class CramUnimplementedError extends Error {
}
/** An error caused by malformed data. */
export declare class CramMalformedError extends CramError {
}
/**
* An error caused by data being too big, exceeding a size limit.
*/
export declare class CramSizeLimitError extends CramError {
}
/**
* An invalid argument was supplied to a cram-js method or object.
*/
export declare class CramArgumentError extends CramError {
}
/** Read past the end of a block, indicating a truncated file. */
export declare class CramBufferOverrunError extends CramError {
readonly code: "CRAM_BUFFER_OVERRUN";
}