Reference Source Test
public class | source

Errors

Extends:

* → Errors

Errors Class - Provides access to the Mux Data Errors API

Example:

const { Data } = new Mux(accessToken, secret);

// Returns a list of playback errors filtered by the windows operating system
Data.Errors.list({ filters: ['operating_system:windows'] });

Test:

Method Summary

Public Methods
public

list(params: Object): Promise

Returns a list of playback errors

Public Methods

public list(params: Object): Promise source

Returns a list of playback errors

Params:

NameTypeAttributeDescription
params Object
  • optional

example { timeframe: ['7:days'], filters: ['operating_system:windows'] }

Return:

Promise

Returns a resolved Promise with a response from the Mux API

Example:

const { Data } = new Mux(accessToken, secret);

// Returns a list of playback errors filtered by the windows operating system
Data.Errors.list({ filters: ['operating_system:windows'] });

See: