This is a collection of functions for working with errors.
The isError function checks if an unknown value is an error.
isError
import { isError } from '@aracna/core'; // will log true console.log(isError(new Error()));