update: add response & request-error class