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

Function createAxiosNotFoundErrorObject

test-utils.tsx:122–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120};
121
122export const createAxiosNotFoundErrorObject = () =>
123 new AxiosError(
124 "Request failed with status code 404",
125 "ERR_BAD_REQUEST",
126 undefined,
127 undefined,
128 {
129 status: 404,
130 statusText: "Not Found",
131 data: { message: "Settings not found" },
132 headers: {},
133 // @ts-expect-error - we only need the response object for this test
134 config: {},
135 },
136 );
137
138export const createAxiosError = (
139 status: number,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected