MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / createAxiosNotFoundErrorObject

Function createAxiosNotFoundErrorObject

test-utils.tsx:101–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101export const createAxiosNotFoundErrorObject = () =>
102 new AxiosError(
103 "Request failed with status code 404",
104 "ERR_BAD_REQUEST",
105 undefined,
106 undefined,
107 {
108 status: 404,
109 statusText: "Not Found",
110 data: { message: "Settings not found" },
111 headers: {},
112 // @ts-expect-error - we only need the response object for this test
113 config: {},
114 },
115 );
116
117export const createAxiosError = (
118 status: number,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected