Add markers for error methods for api and slf4j