Create a package which includes a function to return a square of a number if it is positive else return an error message to the user.

Create a package which includes a function to return a square of a number if it is positive else return an error message to the user.