OptionalcodeA stable code for JSON consumers to identify this error, included only when known.
OptionalcustomOptionaldetailsSelected JSON-serializable data to include in JSON errors. Never attach the raw error or request.
OptionalformattedOptionalnext
An external error is similar to Abort but has extra command and args attributes. This is useful to represent errors coming from external commands, usually executed by execa.