Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MetaMask/rpc-errors
/ errors.test.ts
File
errors.test.ts
src/errors.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ assert, isPlainObject } from
'@metamask/utils'
;
2
3
import
{ rpcErrors, providerErrors, errorCodes } from
'.'
;
4
import
{
Callers
nothing calls this directly
Calls
2
getMessageFromCode
Function · 0.90
serialize
Method · 0.45
Tested by
no test coverage detected