# Packages
* @Author: changge <[email protected]>
* @Date: 2022-10-13 16:49:20
* @LastEditTime: 2022-12-07 14:40:56
* @Description: Do not edit
*/.
* @Author: changge <[email protected]>
* @Date: 2022-09-06 16:11:57
* @LastEditTime: 2022-09-15 16:17:11
* @Description: Do not edit
*/.
# Functions
*
* @description: Cause(获取原始错误)
* @param {error} err
* @return {*}
*/.
*
* @description: func of get code
* @param {int} status
* @return {*}
*/.
*
* @description: func of get reason for code
* @param {int} status
* @return {*}
*/.
*
* @description: New
* @param {int} status
* @return {*}
*/.
*
* @description: func of set new code
* @param {int} status
* @param {string} reason
* @return {*}
*/.
*
* @description: Newf
* @param {int} status
* @param {...interface{}} args
* @return {*}
*/.
*
* @description: Wrap err with code
* @param {error} err
* @param {int} status
* @return {*}
*/.
*
* @description: Wrap code and direct output err.Error() as message
* @param {error} err
* @param {int} status
* @return {*}
*/.
*
* @description: Wrapf err with code (支持格式化错误原因)
* @param {error} err
* @param {int} status
* @param {...interface{}} args
* @return {*}
*/.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author