Making sure I'm using base path of project, not file. Also, returning error as false instead of null because that's what I do everywhere else.
Checking if server response's 'error' field is false, not null. Much neater this way.