Error class

You wanted it. :stuck_out_tongue: 
It sill need work on several areas.