Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cronitorio/cronitor-cli
/ Error
Method
Error
lib/process_validator.go:19–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
func
(e PIDValidationError) Error() string {
20
return
fmt.Sprintf(
"PID %d: %s"
, e.PID, e.Message)
21
}
22
23
// ProcessValidator handles process ID validation and safety checks
24
type
ProcessValidator
struct
{
Callers
15
TestAPIClient_GET_EmptyQueryParamsOmitted
Function · 0.80
TestAPIClient_Authentication
Function · 0.80
TestAPIClient_400_BadRequest
Function · 0.80
TestAPIClient_404_NotFound
Function · 0.80
TestAPIClient_500_ServerError
Function · 0.80
TestAPIClient_NetworkError
Function · 0.80
TestAPIResponse_FormatJSON
Function · 0.80
Save
Method · 0.80
GetMonitors
Method · 0.80
ValidatePID
Method · 0.80
ValidatePIDWithOwnership
Method · 0.80
LoadFixture
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestAPIClient_GET_EmptyQueryParamsOmitted
Function · 0.64
TestAPIClient_Authentication
Function · 0.64
TestAPIClient_400_BadRequest
Function · 0.64
TestAPIClient_404_NotFound
Function · 0.64
TestAPIClient_500_ServerError
Function · 0.64
TestAPIClient_NetworkError
Function · 0.64
TestAPIResponse_FormatJSON
Function · 0.64
TestMonitorDeleteSupportsMultipleArgs
Function · 0.64
TestNotificationCommandAliases
Function · 0.64
TestMaintenanceCommandAliases
Function · 0.64
TestPrintListAsTableIncludesCommands
Function · 0.64
TestConvertTriggerToRRULE_EventDrivenTriggers
Function · 0.64