Add Messages to Functions
You can set your own custom functions to issue messages where appropriate.
Define a function to issue a message and return unevaluated upon an error, which in this case occurs when the argument is not greater than or equal to zero: