Gave a more realistic example of returning a custom error code