Add error code to TritonException and TritonRuntimeException