Outsource errors to errors.go