Add error library

A copy from SlaxWeb\Error\Error. Experimental!!!
Return error object on error

Instead of returning boolean false, return an actual error object.