public static ShenyuAdminResult error(final String msg) {
        return error(CommonErrorCode.ERROR, msg);
    }
@Test
    public void testErrorWithMsg() {
        final ShenyuAdminResult result = ShenyuAdminResult.error(0, "msg");
        assertEquals(0, result.getCode().intValue());
        assertEquals("msg", result.getMessage());
        assertNull(result.getData());
        assertEquals(3390718, result.hashCode());
        assertEquals("ShenyuAdminResult{code=0, message='msg', data=null}", result.toString());
    }