Method | Description | |
---|---|---|
forLanguage ( string $language, Exception $cause = null ) : static | Creates an exception for an unsupported language string. |
public static forLanguage ( string $language, Exception $cause = null ) : static | ||
$language | string | The unsupported language. |
$cause | Exception | The exception that caused this exception. |
return | static | The created exception. |