Better command exception handling

Capture errors with Ids
Wire up errors from command processing