thrift/rust: add `handler_panic` constructor
thrift/rust: add `handler_panic` constructor

Summary:
Use this for caught panics.

Also update the error code list - a few have been added.

Reviewed By: Imxset21

Differential Revision: D31164698

fbshipit-source-id: b6c14a2829cf8ab1a8608c360939bc41cca5dea5

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift