Closed AlexWayfer closed 1 year ago
ResponseError#data
rescue
ResponseError#error_code
ResponseError#to_s
.inspect
ResponseError
ResponseError#data
public. It's useful for checks by fields insiderescue
, re-raise or not.ResponseError#error_code
.ResponseError#to_s
.ResponseError#to_s
with.inspect
: now the type of value is more obvious (Boolean, Integer, String, etc.).ResponseError
initialization. Don't expect basic message, have it inside the class.