# CardSwipeInvalidException

Extends \Exception

This exception is thrown when there is a problem parsing a card swipe string.

package | Application

### Methods

## Constructor, creates a new exception of this type.

    __construct(mixedmsg, mixedcode = 0, mixedprevious = null) : mixed

### Arguments

#### msg

`mixed`

#### code

`mixed`

#### previous

`mixed`

### Response

`mixed`

## Gets a human readable version of this object.

    __toString() : string

### Response

`string`