Add more docs on Error class