The Compare and Comply service uses standard HTTP response codes to indicate whether a method completed successfully. HTTP response codes in the 2xx range indicate success. A response in the 4xx range is some sort of failure, and a response in the 5xx range usually indicates an internal system error that cannot be resolved by the user. Response codes are listed with the method.
When the Node SDK receives an error response from the Compare and Comply service, it creates an Error object with information that describes the error that occurred. This error object is passed as the first parameter to the callback function for the method. The contents of the error object are as shown in the following table.
Company | Contact | Country |
---|---|---|
Alfreds Futterkiste | Maria Anders | Germany |
Centro comercial Moctezuma | Francisco Chang | Mexico |
Ernst Handel | Roland Mendel | Austria |
Island Trading | Helen Bennett | UK |
Laughing Bacchus Winecellars | Yoshi Tannamuri | Canada |
Magazzini Alimentari Riuniti | Giovanni Rovelli | Italy |
<script>
$(document).ready(function(){
function show_active_elements(){
let active_li = $('.documentation__nav li.active');
let parent_li = active_li.parents('.has_child');
let child_ul = active_li.children('ul');
parent_li.removeClass('collapsed');
parent_li.children('ul').removeClass('collapse').addClass('show');
child_ul.removeClass('collapse').addClass('show');
}
show_active_elements();
})
</script>
Dadead