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