Fork of the original project and modified to handle server side implemented errors.