code: @Nullable
    public static BlockscoreError getBlockscoreError(@NotNull final RetrofitError cause) {
      Object rawError = cause.getBodyAs(BlockscoreError.class);
      if (rawError instanceof BlockscoreError) {
        return (BlockscoreError) rawError;
      } else {
        return null;
      }
    }
docs: Converts a Retrofit Error into a Blockscore Error.
  
  @param cause  the Retrofit error to convert
  @return the Blockscore Error