Changed private to protected
Moved the getError and hasError to the abstract response
getError in this interface instead of creating it in the result.
getError in this interface instead of creating it in the result.
getError in this interface instead of creating it in the result.
Formatting