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

#### 函数功能

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


#### 约束说明

NA


#### 函数原型

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中定义。
