PHP Class Dumplie\SharedKernel\Domain\Exception\InvalidArgumentException

Inheritance: extends Exception
Mostra file Open project: dumplie/dumplie Class Usage Examples

Public Methods

Method Description
emptySku ( ) : InvalidArgumentException
invalidCurrency ( string $currency ) : InvalidArgumentException
negativePriceAmount ( integer $given ) : InvalidArgumentException
negativePricePrecision ( integer $given ) : InvalidArgumentException

Method Details

emptySku() public static method

public static emptySku ( ) : InvalidArgumentException
return InvalidArgumentException

invalidCurrency() public static method

public static invalidCurrency ( string $currency ) : InvalidArgumentException
$currency string
return InvalidArgumentException

negativePriceAmount() public static method

public static negativePriceAmount ( integer $given ) : InvalidArgumentException
$given integer
return InvalidArgumentException

negativePricePrecision() public static method

public static negativePricePrecision ( integer $given ) : InvalidArgumentException
$given integer
return InvalidArgumentException