glycin: Use a specific error type for canceled operations.