
## SVGException class

This exception is raised when a specific SVG operation is impossible to perform.



**Inheritance:** [`SVGException`](/svg/python-net/aspose.svg/svgexception) → 
[`PlatformException`](/svg/python-net/aspose.svg/platformexception)



The SVGException type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/svg/python-net/aspose.svg/svgexception/__init__/#int) | Initializes a new instance of the [`SVGException`](/svg/python-net/aspose.svg/svgexception) class. |


### Properties
| Property | Description |
| :- | :- |
| [code](/svg/python-net/aspose.svg/svgexception/code) | A code identifying the reason why the requested operation could not be performed. The value of this member will be one of the constants in the SVGException code group. |
| [SVG_WRONG_TYPE_ERR](/svg/python-net/aspose.svg/svgexception/svg_wrong_type_err) | Raised when an object of the wrong type is passed to an operation. |
| [SVG_INVALID_VALUE_ERR](/svg/python-net/aspose.svg/svgexception/svg_invalid_value_err) | Raised when an invalid value is passed to an operation or assigned to an attribute. |
| [SVG_MATRIX_NOT_INVERTABLE](/svg/python-net/aspose.svg/svgexception/svg_matrix_not_invertable) | Raised when an attempt is made to invert a matrix that is not invertible. |



### See Also
* module [`aspose.svg`](..)
* class [`PlatformException`](/svg/python-net/aspose.svg/platformexception)
* class [`SVGException`](/svg/python-net/aspose.svg/svgexception)
