Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

If the process cannot be found, it is better to return an error #41

@jgbooks

Description

@jgbooks
// FindProcess looks up a single process by pid.
func FindProcess(pid int) (Process, error) {
	return findProcess(pid)
}

If the process cannot be found, it is better to return an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions