@gmod/cram
Version:
read CRAM files with pure Javascript
18 lines (13 loc) • 541 B
text/typescript
export class CramError extends Error {}
/** Error caused by encountering a part of the CRAM spec that has not yet been implemented */
export class CramUnimplementedError extends Error {}
/** An error caused by malformed data. */
export class CramMalformedError extends CramError {}
/**
* An error caused by data being too big, exceeding a size limit.
*/
export class CramSizeLimitError extends CramError {}
/**
* An invalid argument was supplied to a cram-js method or object.
*/
export class CramArgumentError extends CramError {}