Template for handling runtime errors in Flex.