BadMeasurement extends Exception
Exception to be thrown when a unit converter is missing a calculator.
Tags
Table of Contents
- ERROR_UNKNOWN_MEASUREMENT = 1
- unknown() : self
- Throw a new exception for an unknown type of measurement.
Constants
ERROR_UNKNOWN_MEASUREMENT
public
mixed
ERROR_UNKNOWN_MEASUREMENT
= 1
Methods
unknown()
Throw a new exception for an unknown type of measurement.
public
static unknown(string $measurement[, Exception $previous = null ]) : self
Parameters
- $measurement : string
-
The type of measurement that caused the error.
- $previous : Exception = null