"use strict";(self.webpackChunkrspress_doc_template=self.webpackChunkrspress_doc_template||[]).push([["7465"],{63953:function(e,r,s){s.r(r);var n=s(85893),a=s(50065);function t(e){let r=Object.assign({h1:"h1",a:"a",h2:"h2",pre:"pre",code:"code",span:"span",p:"p",ul:"ul",li:"li"},(0,a.ah)(),e.components);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r.h1,{id:"status-code",children:[(0,n.jsx)(r.a,{className:"header-anchor","aria-hidden":"true",href:"#status-code",children:"#"}),"Status Code"]}),"\n",(0,n.jsxs)(r.h2,{id:"hbdnngeterrordesc",children:[(0,n.jsx)(r.a,{className:"header-anchor","aria-hidden":"true",href:"#hbdnngeterrordesc",children:"#"}),"hbDNNGetErrorDesc"]}),"\n",(0,n.jsx)(r.pre,{className:"code",children:(0,n.jsx)(r.pre,{className:"shiki css-variables has-line-number",style:{backgroundColor:"var(--shiki-color-background)"},tabIndex:"0",children:(0,n.jsxs)(r.code,{className:"language-cpp",meta:"",children:[(0,n.jsxs)(r.span,{className:"line line-number",children:[(0,n.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"char"}),(0,n.jsx)(r.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,n.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,n.jsx)(r.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,n.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,n.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:"hbDNNGetErrorDesc"}),(0,n.jsx)(r.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,n.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"int32_t"}),(0,n.jsx)(r.span,{style:{color:"var(--shiki-color-text)"},children:" errorCode);"})]}),"\n"]})})}),"\n",(0,n.jsx)(r.p,{children:"Translate the error codes into natural language."}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["Parameter","\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["[in] ",(0,n.jsx)(r.code,{children:"errorCode"})," dnn error status code."]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["Return Value","\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["return ",(0,n.jsx)(r.code,{children:"char *"})," , translate internal error codes into natural language."]}),"\n"]}),"\n"]}),"\n"]})]})}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:r}=Object.assign({},(0,a.ah)(),e.components);return r?(0,n.jsx)(r,Object.assign({},e,{children:(0,n.jsx)(t,e)})):t(e)}r.default=c,c.__RSPRESS_PAGE_META={},c.__RSPRESS_PAGE_META["latest%2Fen%2Fguide%2Fucp%2Fruntime%2Fbpu_sdk_api%2Ffunction_interface%2Fstatus_code.mdx"]={toc:[{id:"hbdnngeterrordesc",text:"hbDNNGetErrorDesc",depth:2}],title:"Status Code",frontmatter:{}}}}]);