Opened 13 years ago

Closed 4 years ago

#580 closed enhancement (wontfix)

Patch to add Error::clone()

Reported by: Olly Betts Owned by: Olly Betts
Priority: normal Milestone:
Component: Library API Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

I thought this feature would be useful in the bindings, but it turns out it isn't, since we always also need something based on the class name too (and not just the C++ classname as a string literal, which we can efficiently get from the error object).

But I'd implemented it before I realised that, so here's the patch in case we decide it is useful generally, or find a way to use it in the bindings.

Attachments (1)

implement-error-clone.patch (2.0 KB ) - added by Olly Betts 13 years ago.
patch implementing Error::clone()

Download all attachments as: .zip

Change History (2)

by Olly Betts, 13 years ago

Attachment: implement-error-clone.patch added

patch implementing Error::clone()

comment:1 by Olly Betts, 4 years ago

Resolution: wontfix
Status: newclosed

We haven't found we wanted this in 9 years, and if that changes we can still dig the patch out from a closed ticket.

Note: See TracTickets for help on using tickets.