# danog\MadelineProto\SecurityException: Indicates a security error.

[Back to index](../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

Indicates a security error.  




## Method list:
* [`__construct(string $message = '', int $code = 0, ?Throwable $previous = NULL)`](#__construct)
* [`getMessage(): string`](#getMessage)
* [`getCode()`](#getCode)
* [`getFile(): string`](#getFile)
* [`getLine(): int`](#getLine)
* [`getTrace(): array`](#getTrace)
* [`getPrevious(): ?Throwable`](#getPrevious)
* [`getTraceAsString(): string`](#getTraceAsString)

## Methods:
### <a name="__construct"></a> `__construct(string $message = '', int $code = 0, ?Throwable $previous = NULL)`




Parameters:

* `$message`: `string`   
* `$code`: `int`   
* `$previous`: `?Throwable`   


#### See also: 
* `Throwable`




### <a name="getMessage"></a> `getMessage(): string`





### <a name="getCode"></a> `getCode()`





### <a name="getFile"></a> `getFile(): string`





### <a name="getLine"></a> `getLine(): int`





### <a name="getTrace"></a> `getTrace(): array`





### <a name="getPrevious"></a> `getPrevious(): ?Throwable`




#### See also: 
* `Throwable`




### <a name="getTraceAsString"></a> `getTraceAsString(): string`





---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
