Opened 9 years ago

Closed 4 years ago

#18 closed enhancement (wontfix)

Support optional "errorhandler" extension

Reported by: cito Owned by: darcy
Priority: major Milestone: 4.2
Component: DB API 2 Version: 4.0
Keywords: Cc:

Description (last modified by cito)

The DBAPI2 PEP proposes an optional error handling extension using an ".errorhandler" attribute. We should look into that.

Change History (3)

comment:1 Changed 9 years ago by cito

  • Description modified (diff)

comment:2 Changed 4 years ago by cito

See also #59

comment:3 Changed 4 years ago by cito

  • Resolution set to wontfix
  • Status changed from new to closed

I have looked into this now.

The errorhandler extension doesn't seem to be widely adopted.

This would need to be solved in the C module, and all code that raises an exception would need to be amended. This is too much effort and I don't think it's worthwile doing this.

Note: See TracTickets for help on using tickets.