hapijs / boom

HTTP-friendly error objects
Other
2.94k stars 192 forks source link

Get optional message from response #276

Closed raedabusanad closed 3 years ago

raedabusanad commented 3 years ago

Support plan

Context

How can we help?

Hello,

based on the example provided here: https://github.com/hapijs/boom/blob/master/API.md#boombadimplementationmessage-data---alias-internal

how can i get the optional message 'terrible implementation' from response payload?

Thanks

raedabusanad commented 3 years ago

Apparently it is by design https://github.com/hapijs/boom/issues/84