Define some exceptions when provider fail.