Back to project page matrix-android-sdk.
The source code is released under:
Apache License
If you think the Android project matrix-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright 2014 OpenMarket Ltd//www.j ava 2 s . c o m * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.matrix.androidsdk.rest.model; /** * Represents a standard error response. */ public class MatrixError { public static final String FORBIDDEN = "M_FORBIDDEN"; public static final String UNKNOWN_TOKEN = "M_UNKNOWN_TOKEN"; public static final String BAD_JSON = "M_BAD_JSON"; public static final String NOT_JSON = "M_NOT_JSON"; public static final String NOT_FOUND = "M_NOT_FOUND"; public static final String LIMIT_EXCEEDED = "M_LIMIT_EXCEEDED"; public static final String USER_IN_USE = "M_USER_IN_USE"; public static final String ROOM_IN_USE = "M_ROOM_IN_USE"; public static final String BAD_PAGINATION = "M_BAD_PAGINATION"; public static final String UNKNOWN= "M_UNKNOWN"; public String errcode; public String error; }