import{createCustomError as r}from"../utils/create-custom-error.mjs";function e(e,t,n){return Object.assign(r("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n  "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}export{e as SyntaxError};