Skip to content

The only tool you need to know what is happening and how to fix it.

274 B
Raw Blame
function e(t){if(!(!t||typeof t!="object"||!("status"in t)))return typeof t.status=="number"?t.status:void 0}function n(t,s=""){return t instanceof Error?t.message||s:!t||typeof t!="object"||!("message"in t)?s:typeof t.message=="string"&&t.message||s}export{e as a,n as g};