Runtime errors result in new Error objects being created and thrown. Error is a serializable object, so it can be cloned with structuredClone() or copied between Workers using postMessage(). Error typesError constructor, there are other core error constructors in JavaScript. For client-side exceptions, see Exception handling statements. EvalError Creates an instance representing an error that occu