MockReply.failure constructor

const MockReply.failure(
  1. HttpAdapterException exception
)

Reply by throwing exception.

Implementation

const MockReply.failure(HttpAdapterException this.exception)
    : response = null;