Menu

## UnknownUnitException extends UnitException
in package

UnknownUnitException.php : 18

### Table of Contents

#### Properties

$unit : string
  The unit.

#### Methods

__construct() : mixed
  Constructor.
getUnit() : string
  Get the unit.

### Properties

#### $unit

UnknownUnitException.php : 25

The unit.

`protected string $unit`

### Methods

#### __construct()

UnknownUnitException.php : 34

Constructor.

`public __construct(string $unit[, int $code = 0 ][, Throwable|null $previous = null ]) : mixed`

##### Parameters

$unit : string
$code : int = 0
$previous : Throwable|null = null

#### getUnit()

UnknownUnitException.php : 46

Get the unit.

`public getUnit() : string`

##### Return values

string

## Search results