Updated Errors method.
Updated example codes.