Support getting the pool from the timeout error

This commit is contained in:
Christopher Baines 2025-01-06 19:04:06 +00:00
parent 6119ece5cb
commit 97a3116b81
2 changed files with 19 additions and 5 deletions

View file

@ -15,4 +15,12 @@
res)
2))))
(let* ((error-constructor
(record-constructor &resource-pool-timeout))
(err
(error-constructor 'foo)))
(assert-equal
(resource-pool-timeout-error-pool err)
'foo))
(display "resource-pool test finished successfully\n")