Functions that return Error return OK when no error occurred. Most functions don't return errors and/or just print errors to STDOUT.
Methods that return [enum Error] return [constant OK] when no error occurred. Note that many functions don't return an error code but will print error messages to stdout.
Since [constant OK] has value 0, and all other failure codes are positive integers, it can also be used in boolean checks, e.g.: