🌳
pt0/sharedF/throwErrorF/constantsF.mts
1export type errTsType = string & { readonly __brand: unique symbol }
3export const jsErrSym = 'ptFeError' as errTsType
5export const genericServerErr = 'Internal Server Error'
7export const ignorableJsErrMsgPatterns = [
8 `Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.`,
9 'Script error.',
10 'The user aborted a request.',
11 'Load failed',
12 `Can't find variable: EmptyRanges`,
13 genericServerErr,
14 'The fetching process for the media resource',
15 'The media resource indicated by the src attribute',
16 'The operation was aborted.',
17 'Hydration failed because the server rendered',
18 'Failed to connect to MetaMask',
19 'Failed to fetch',
20 'The requesting page is not visible',
21 'Response not successful: Received status code 404',