{"version":3,"sources":["../../src/errors/io-error-codes.ts"],"sourcesContent":["import GeneralErrorCodes from './general-error-codes'\r\nimport TokenizationErrorCodes from './tokenization-error-codes'\r\nimport ParsingErrorCodes from './parsing-error-codes'\r\nimport ValidationErrorCodes from './validation-error-codes'\r\n\r\n/**\r\n * Union type of all error codes for type-safe error code handling.\r\n * Use this type when accepting or returning error codes.\r\n */\r\nexport type IOErrorCode =\r\n  | GeneralErrorCodes\r\n  | TokenizationErrorCodes\r\n  | ParsingErrorCodes\r\n  | ValidationErrorCodes;\r\n\r\n/**\r\n * Consolidated error codes from all categories\r\n */\r\nconst ErrorCodes = {\r\n  ...GeneralErrorCodes,\r\n  ...TokenizationErrorCodes,\r\n  ...ParsingErrorCodes,\r\n  ...ValidationErrorCodes\r\n} as const\r\n\r\n// Export individual categories for specific use cases\r\nexport { GeneralErrorCodes, TokenizationErrorCodes, ParsingErrorCodes, ValidationErrorCodes }\r\n\r\nexport default ErrorCodes\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,sDAAAA;AAAA,EAAA,oDAAAC;AAAA,EAAA,8DAAAC;AAAA,EAAA,0DAAAC;AAAA,EAAA;AAAA;AAAA;AAAA,iCAA8B;AAC9B,sCAAmC;AACnC,iCAA8B;AAC9B,oCAAiC;AAejC,MAAM,aAAa;AAAA,EACjB,GAAG,2BAAAH;AAAA,EACH,GAAG,gCAAAE;AAAA,EACH,GAAG,2BAAAD;AAAA,EACH,GAAG,8BAAAE;AACL;AAKA,IAAO,yBAAQ;","names":["GeneralErrorCodes","ParsingErrorCodes","TokenizationErrorCodes","ValidationErrorCodes"]}