---
title: OpusStrerrorApi
description: "通过错误码获取文字错误信息接口，类似Opus 1.3.1版本的opus_strerror接口。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2530/armnative/kunpengcpsvideo_16_0111.html
sourcePath: /source/zh/kunpengboostkithistory/2530/armnative/kunpengcpsvideo_16_0111.html
indexId: a2fcf14a1fc7e03aaddd963454c5a6acce9028e5361af167e9640c25a9b3c3de77
---
# 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中的定义。
