request: add a helper to check the error of a response if we detect there is one
entry: rename to model and provide a server response struct