Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEM-2796 Added more details to LoadError and GeneralError #70

Merged
merged 8 commits into from
Feb 18, 2020
Merged

Conversation

GouravSna
Copy link
Contributor

  • Added message to GeneralError and LoadError for PhoenixMediaProvider and KalturaOvpMediaProvider
  • Removed redundant interface method from AndroidTest classes.

…r and KalturaOvpMediaProvider

- Removed redundant interface method from AndroidTest classes.
@GouravSna GouravSna changed the title FEM-2797 Added more details to LoadError and GeneralError FEM-2796 Added more details to LoadError and GeneralError Feb 3, 2020
GouravSna and others added 5 commits February 3, 2020 14:20
- Removed static ErrorElement function calls
- Static import / import refactor
    public static ErrorElement buildGeneralErrorElement(String message) {
        return new ErrorElement(ErrorElement.GeneralError.getName(), message, ErrorElement.ErrorCode.GeneralErrorCode);
    }

    public static ErrorElement buildLoadErrorElement(String message) {
        return new ErrorElement(ErrorElement.LoadError.getName(), message,ErrorElement.ErrorCode.LoadErrorCode);
    }

    public static ErrorElement buildNotFoundlErrorElement(String message) {
        return new ErrorElement(ErrorElement.NotFound.getName(), message, ErrorElement.ErrorCode.NotFoundCode);
    }

    public static ErrorElement buildBadRequestErrorElement(String message) {
        return new ErrorElement(ErrorElement.BadRequestError.getName(), message, ErrorElement.ErrorCode.BadRequestErrorCode);
    }
    public static ErrorElement buildGeneralErrorElement(String message) {
        return new ErrorElement(ErrorElement.GeneralError.getName(), message, ErrorElement.ErrorCode.GeneralErrorCode);
    }

    public static ErrorElement buildLoadErrorElement(String message) {
        return new ErrorElement(ErrorElement.LoadError.getName(), message,ErrorElement.ErrorCode.LoadErrorCode);
    }

    public static ErrorElement buildNotFoundlErrorElement(String message) {
        return new ErrorElement(ErrorElement.NotFound.getName(), message, ErrorElement.ErrorCode.NotFoundCode);
    }

    public static ErrorElement buildBadRequestErrorElement(String message) {
        return new ErrorElement(ErrorElement.BadRequestError.getName(), message, ErrorElement.ErrorCode.BadRequestErrorCode);
    }
@giladna giladna merged commit ee0cee4 into develop Feb 18, 2020
@giladna giladna deleted the FEM-2796 branch February 18, 2020 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants