Dynatrace automatically captures exceptions that cause the abort of a service call.
You can find them via Diagnostic Tools -> Exception analysis
If you want it for a specific service filter by Process Group Name or Service Name
If the exceptions isn't captured yet, e.g. because it's caught and a error delivered to the client you can still tell dynatrace to show the exception and mark the request as failed.
Find the service and go to Settings -> Error Detection and add it under Custom Handeled Exceptions