MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / isInvalidArgumentError

Function isInvalidArgumentError

pkg/webui/lib/errors/utils.js:163–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 * `false` otherwise.
162 */
163export const isInvalidArgumentError = error =>
164 grpcStatusCode(error) === 3 || httpStatusCode(error) === 400
165
166/**
167 * Returns whether the grpc error represents a bad request error.

Callers

nothing calls this directly

Calls 2

grpcStatusCodeFunction · 0.85
httpStatusCodeFunction · 0.85

Tested by

no test coverage detected