import{EXIT_CODE_INVALID_CONFIG as r,EXIT_CODE_INVALID_USAGE as e}from"../constants.mjs";class s extends Error{name="ConfigurationError";code=r;constructor(r){super(r)}}class o extends Error{name="AllFilesIgnoredError";constructor(){super('All input files were ignored because of the ignore pattern. Either change your input, ignore pattern or use "--allow-empty-input" to allow no inputs')}}class t extends Error{name="NoFilesFoundError";constructor(r){super(),"string"==typeof r&&(r=[r]);const e=r.filter(r=>!r.startsWith("!")).join(", ");this.message=`No files matching the pattern "${e}" were found.`}}class n extends Error{name="SuppressionFileNotFoundError";code=e;constructor(){super('The suppressions file does not exist. Please run the command with "--suppress" or "--suppress=<rule>" to create it.')}}export{o as AllFilesIgnoredError,s as ConfigurationError,t as NoFilesFoundError,n as SuppressionFileNotFoundError};