public PaginatedApiResponse(ApiResponseError error) : base(error) { }
public ApiResponse(ApiResponseError error) { this.error = error; }
public ApiResponse() { this.error = ApiResponseErrorType.OK.CreateResponseError(); }
public ApiResponse(ApiResponseErrorType errorType) { this.error = errorType.CreateResponseError(); }
public static ApiResponse CreateResponse(this ApiResponseError error) => new ApiResponse(error);