MCPcopy Create free account
hub / github.com/cronitorio/cronitor-cli / IsNotFound

Method IsNotFound

lib/api_client.go:167–169  ·  view source on GitHub ↗

IsNotFound returns true if the status code is 404

()

Source from the content-addressed store, hash-verified

165
166// IsNotFound returns true if the status code is 404
167func (r *APIResponse) IsNotFound() bool {
168 return r.StatusCode == 404
169}
170
171// FormatJSON pretty-prints the response body as JSON
172func (r *APIResponse) FormatJSON() string {

Callers 10

environment.goFile · 0.80
site.goFile · 0.80
monitor.goFile · 0.80
group.goFile · 0.80
statuspage.goFile · 0.80
notification.goFile · 0.80
maintenance.goFile · 0.80
issue.goFile · 0.80

Calls

no outgoing calls

Tested by 2