1 /* 2 * Copyright (c) 2006-2018, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2010-03-22 Bernard first version 9 */ 10 #ifndef __FINSH_ERROR_H__ 11 #define __FINSH_ERROR_H__ 12 13 #include <finsh.h> 14 15 int finsh_error_init(void); 16 17 /* get error number */ 18 uint8_t finsh_errno(void); 19 20 int finsh_error_set(uint8_t type); 21 const char* finsh_error_string(uint8_t type); 22 23 #endif 24