---
title: OpusStrerrorApi
description: "通过错误码获取文字错误信息接口，类似Opus 1.3.1版本的opus_strerror接口。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/252RC1/armnative/kunpengcpsvideo_16_0111.html
sourcePath: /source/zh/kunpengboostkithistory/252RC1/armnative/kunpengcpsvideo_16_0111.html
indexId: a4ca19d20e47b602f2c1f0ed3e83ce3291f1e675c3046be9168b36cf15ff92db79
---
# OpusStrerrorApi

#### 函数功能

通过错误码获取文字错误信息接口，类似Opus 1.3.1版本的opus_strerror接口。


#### 函数原型

const char *OpusStrerrorApi(int error)


#### 参数说明

与Opus 1.3.1中opus_strerror接口一致，请参见Opus 1.3.1中定义。


#### 返回值说明

与Opus 1.3.1中opus_strerror接口一致，请参见Opus 1.3.1中定义。
