I was using DBError to do things like isInternalServerError, isBadInputError, isAuthError, etc. Are there any situations where this substitution is not appropriate?","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"postTime":"2017-01-20T12:11:18.428-08:00","lastPublishTime":"2017-01-20T12:11:18.428-08:00","metrics":{"__typename":"MessageMetrics","views":3462},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101000041/category:101007/category:English/community:mxpez29397board:101000014/message:202186/message:203142","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuMnwyLjF8aXwzfDUyOjF8aW50LDIwMzE0NCwyMDMxNDQ","node":{"__ref":"ForumReplyMessage:message:203144"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"editFrozen":false,"body@stringLength":"425","rawBody":"I also got that error, but it turned out that all my uses of DBError in SDK 1.0.11 were actually DBRequestError in SDK 2.0.6. When I changed all my declarations from DBError to DBRequestError, everything compiled fine. Is that the right thing to do?
I was using DBError to do things like isInternalServerError, isBadInputError, isAuthError, etc. Are there any situations where this substitution is not appropriate?","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:203142_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:203144":{"__typename":"ModerationData","id":"moderation_data:203144","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:203144":{"__typename":"ForumReplyMessage","uid":203144,"id":"message:203144","revisionNum":1,"author":{"__ref":"User:user:10"},"readOnly":false,"repliesCount":1,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101000014"},"parent":{"__ref":"ForumReplyMessage:message:203142"},"conversation":{"__ref":"Conversation:conversation:202186"},"subject":"Re: DBError, forward declaration","moderationData":{"__ref":"ModerationData:moderation_data:203144"},"body":"Thanks Robert. That's the right change. DBError was renamed to DBRequestError in 2.0.0:
https://github.com/dropbox/dropbox-sdk-obj-c/releases/tag/2.0.0","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"154","kudosSumWeight":0,"postTime":"2017-01-20T12:37:58.059-08:00","lastPublishTime":"2017-01-20T12:37:58.059-08:00","metrics":{"__typename":"MessageMetrics","views":3458},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101000041/category:101007/category:English/community:mxpez29397board:101000014/message:202186/message:203144","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuMnwyLjF8aXwxfDUyOjF8aW50LDIwNzM2MiwyMDczNjI","node":{"__ref":"ForumReplyMessage:message:207362"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"editFrozen":false,"body@stringLength":"291","rawBody":"Thanks Robert. That's the right change. DBError was renamed to DBRequestError in 2.0.0:
https://github.com/dropbox/dropbox-sdk-obj-c/releases/tag/2.0.0","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:203144_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"ModerationData:moderation_data:207362":{"__typename":"ModerationData","id":"moderation_data:207362","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:207362":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:10"},"id":"message:207362","revisionNum":1,"uid":207362,"depth":4,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:101000014"},"parent":{"__ref":"ForumReplyMessage:message:203144"},"conversation":{"__ref":"Conversation:conversation:202186"},"subject":"Re: DBError, forward declaration","moderationData":{"__ref":"ModerationData:moderation_data:207362"},"body":"For reference, the sample app has been updated to work with the latest version of the SDK.","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"90","kudosSumWeight":0,"repliesCount":0,"postTime":"2017-02-17T15:51:10.526-08:00","lastPublishTime":"2017-02-17T15:51:10.526-08:00","metrics":{"__typename":"MessageMetrics","views":3383},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:101000041/category:101007/category:English/community:mxpez29397board:101000014/message:202186/message:207362","customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"readOnly":false,"editFrozen":false,"body@stringLength":"90","rawBody":"For reference, the sample app has been updated to work with the latest version of the SDK.","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:207362_1"},"latestVersion":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"CachedAsset:text:en_US-components/tags/TagView/TagViewChip-1741624997000":{"__typename":"CachedAsset","id":"text:en_US-components/tags/TagView/TagViewChip-1741624997000","value":{"tagLabelName":"Tag name {tagName}"},"localOverride":false},"Revision:revision:202626_1":{"__typename":"Revision","id":"revision:202626_1","lastEditTime":"2017-01-18T00:40:34.662-08:00"},"Revision:revision:207362_1":{"__typename":"Revision","id":"revision:207362_1","lastEditTime":"2017-02-17T15:51:10.526-08:00"},"Revision:revision:203142_1":{"__typename":"Revision","id":"revision:203142_1","lastEditTime":"2017-01-20T12:11:18.428-08:00"},"Revision:revision:203144_1":{"__typename":"Revision","id":"revision:203144_1","lastEditTime":"2017-01-20T12:37:58.059-08:00"}}}},"page":"/forums/ForumMessagePage/ForumMessagePage","query":{"boardId":"101000014","messageSubject":"dberror-forward-declaration","messageId":"202186","replyId":"202565"},"buildId":"k2ra3WbQxEm0ebgjo41Oz","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","openTelemetryClientEnabled":false,"openTelemetryConfigName":"dropbox","openTelemetryServiceVersion":"25.2.0","openTelemetryUniverse":"prod","openTelemetryCollector":"http://localhost:4318","openTelemetryRouteChangeAllowedTime":"5000","apolloDevToolsEnabled":false,"inboxMuteWipFeatureEnabled":false},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["./components/seo/QAPageSchema/QAPageSchema.tsx","./components/community/Navbar/NavbarWidget.tsx","./components/community/Breadcrumb/BreadcrumbWidget.tsx","./components/customComponent/CustomComponent/CustomComponent.tsx","./components/messages/TopicWithThreadedReplyListWidget/TopicWithThreadedReplyListWidget.tsx","./components/nodes/NodeActionButtonWidget/NodeActionButtonWidget.tsx","./components/nodes/NodeInformationWidget/NodeInformationWidget.tsx","./components/messages/RelatedContentWidget/RelatedContentWidget.tsx","./components/messages/MessageListForNodeByRecentActivityWidget/MessageListForNodeByRecentActivityWidget.tsx","./components/messages/MessageView/MessageViewStandard/MessageViewStandard.tsx","./components/customComponent/CustomComponentContent/HtmlContent.tsx","./components/nodes/NodeView/NodeView.tsx","./components/nodes/NodeView/NodeViewCard/NodeViewCard.tsx","../shared/client/components/common/List/UnstyledList/UnstyledList.tsx","./components/messages/MessageView/MessageView.tsx","./components/messages/MessageView/MessageViewInline/MessageViewInline.tsx","../shared/client/components/common/Pager/PagerLoadMore/PagerLoadMore.tsx","./components/customComponent/CustomComponentContent/TemplateContent.tsx","./components/customComponent/CustomComponentContent/CustomComponentScripts.tsx","../shared/client/components/common/List/UnwrappedList/UnwrappedList.tsx","./components/tags/TagView/TagView.tsx","./components/tags/TagView/TagViewChip/TagViewChip.tsx"],"appGip":true,"scriptLoader":[]}