use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}