OR
(load "123" "File load '123' failed ... ")
Unfortunately such messages would not be printed to the command-line unless the
load expression were the last in the sequence of evaluation...
In the past I've considered using something like:
But this can cause issues if the AutoLISP file
123 returns an expression on loading that causes
eval to either error or perform an undesired operation on load.
An alternative might be:
(if (= 'some
-obscure
-symbol
(load "abc" 'some
-obscure
-symbol
)) (princ "\nabc failed to load.") )
With the symbol obscure enough to avoid the possibility of causing a false-negative since one could not determine the return value of the file to be loaded ahead of time.