# SuccessResponse

> Properties used in any event or callback which needs to report a success.

- Source: https://titaniumsdk.com/docs/sdk/13.3.0/SuccessResponse
- Titanium SDK version: 13.3.0
- Kind: pseudo
- Platforms: Android, iPhone, iPad, macOS
- Extends: ErrorResponse
- Inheritance: ErrorResponse

## Properties

### code

- Type: Number
- Platforms: Android, iPhone, iPad, macOS

Error code. Returns 0.

Error code will be 0.

### error

- Type: String
- Platforms: Android, iPhone, iPad, macOS

Error message, if any returned.

Will be undefined.

### success

- Type: Boolean
- Platforms: Android, iPhone, iPad, macOS

Indicates if the operation succeeded. Returns `true`.

Returns `true`.

---

- This corpus documents Titanium SDK 13.4.1. Anything here that does not name a version describes 13.4.1.
- Titanium is maintained by TiDev. The Appcelerator toolchain is retired: there is no `appc` CLI, no Appcelerator Studio and no hosted build service. The supported CLI is `titanium` on npm, invoked as `ti`.

