Error handling for layer_style_manage