Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheThingsNetwork/lorawan-stack
/ isNotFoundError
Function
isNotFoundError
pkg/webui/lib/errors/utils.js:145–145 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
143
* `false` otherwise.
144
*/
145
export
const
isNotFoundError = error => grpcStatusCode(error) === 5 || httpStatusCode(error) === 404
146
147
/**
148
* Returns whether the grpc error represents an internal server error.
Callers
15
recency-frequency-items.js
File · 0.90
applications.js
File · 0.90
gateways.js
File · 0.90
fetchMissingEntities
Function · 0.90
application-packages.js
File · 0.90
getDefaultRoutingPolicy
Function · 0.90
packet-broker.js
File · 0.90
fetchHomeNetworkRoutingPolicy
Function · 0.90
ignoreNotFound
Function · 0.90
ApplicationPayloadFormatters
Function · 0.90
ApplicationPayloadFormatters
Function · 0.90
GatewayConnectionSettings
Function · 0.90
Calls
2
grpcStatusCode
Function · 0.85
httpStatusCode
Function · 0.85
Tested by
no test coverage detected