Added Getter for Error

no such method: docs