---
lang: en
title: 'API docs: authorization.authorizationerror.code'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/authorization
permalink: /doc/en/lb4/apidocs.authorization.authorizationerror.code.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authorization](./authorization.md) &gt; [AuthorizationError](./authorization.authorizationerror.md) &gt; [code](./authorization.authorizationerror.code.md)

## AuthorizationError.code property

Machine readable code, can be understood by any clients

<b>Signature:</b>

```typescript
code?: string;
```

