mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 15:42:39 +08:00
e3e1db619f
* Revert "move in port/native to platforms/native (#7962)"
This reverts commit 96871ba26b.
* move port/native into platforms/native
21 lines
276 B
JavaScript
21 lines
276 B
JavaScript
const MEDIA_ERR_ABORTED = 1;
|
|
const MEDIA_ERR_NETWORK = 2;
|
|
const MEDIA_ERR_DECODE = 3;
|
|
const MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
|
|
|
|
class MediaError {
|
|
constructor() {
|
|
|
|
}
|
|
|
|
get code() {
|
|
return MEDIA_ERR_ABORTED
|
|
}
|
|
|
|
get message() {
|
|
return ""
|
|
}
|
|
}
|
|
|
|
module.exports = MediaError;
|