use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}
Merge pull request #48 from tsloughter/master

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