Accessing Layers/Services with Error Handling

Is there a way to access a layer/service while catching errors?
Was this page helpful?