Is there a way to fetch the error(s) given on DCC send/get fail

on 1:SENDFAIL:*.*:{ blah blah reason "$some command" | haltdef }

and also is it possible to somehow halt the default from echoing in the status window?

I tried using $get($nick).status and $send($nick).status but they only seem to work during transfer.