v5:reference:connection:adonewconnection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
v5:reference:connection:adonewconnection [2016/01/17 15:28] – mnewnham | v5:reference:connection:adonewconnection [2016/01/17 15:29] – [Error Codes] mnewnham | ||
---|---|---|---|
Line 71: | Line 71: | ||
===== Error Codes ===== | ===== Error Codes ===== | ||
- | As of version 6.0.0 , the following error codes will be returned if a connection fails. | ||
- | |||
- | ^Code^Description^ | ||
- | |-1|An invalid driver name was given| | ||
- | |-2|Unable to parse DSN string| | ||
- | |-3|Connection to database via DSN string failed| | ||
- | |-4|DSN option not supported by driver| | ||
- | |||
Note that, because no connection object is available, the codes cannot be retrieved via [[v5: | Note that, because no connection object is available, the codes cannot be retrieved via [[v5: | ||
v5/reference/connection/adonewconnection.txt · Last modified: 2020/12/08 10:39 by peterdd