MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / errors.test.ts

File errors.test.ts

packages/backend/src/errors.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test } from 'vitest';
2import { RequestError } from '@octokit/request-error';
3import { GitbeakerRequestError } from '@gitbeaker/requester-utils';
4import { isForbidden, isGone, isUnauthorized } from './errors';

Callers

nothing calls this directly

Calls 4

isUnauthorizedFunction · 0.90
isForbiddenFunction · 0.90
isGoneFunction · 0.90
invokeMiddlewareFunction · 0.85

Tested by

no test coverage detected